MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / isRestError

Function isRestError

out/cli.cjs:76524–76529  ·  view source on GitHub ↗
(e3)

Source from the content-addressed store, hash-verified

76522 */
76523 [custom]() {
76524 return `RestError: ${this.message}
76525 ${errorSanitizer.sanitize(this)}`;
76526 }
76527};
76528RestError.REQUEST_SEND_ERROR = "REQUEST_SEND_ERROR";
76529RestError.PARSE_ERROR = "PARSE_ERROR";
76530function isRestError(e3) {
76531 if (e3 instanceof RestError) {
76532 return true;

Callers 1

tryProcessErrorFunction · 0.85

Calls 1

isErrorFunction · 0.85

Tested by

no test coverage detected