UNPKG

@n1k1t/mock-server

Version:

The ultimate toolkit to intercept, transform, and simulate HTTP/WS traffic with type-safe expectations

17 lines 482 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ExecutorManualError = void 0; class ExecutorManualError extends Error { constructor(code) { super(`Executor manual error [${code}]`); this.code = code; } is(code) { return this.code === code; } static build(code) { return new ExecutorManualError(code); } } exports.ExecutorManualError = ExecutorManualError; //# sourceMappingURL=index.js.map