will-api
Version:
Web API gateway adapter for moleculer
14 lines (13 loc) • 392 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.APIError = void 0;
class APIError extends Error {
constructor(message, code, errno, type) {
super(message);
this.code = code;
this.errno = errno;
this.type = type;
Object.setPrototypeOf(this, APIError.prototype);
}
}
exports.APIError = APIError;
;