declarapi
Version:
Declarative API generation
13 lines • 457 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.RequestHandlingError = void 0;
class RequestHandlingError extends Error {
constructor(message, status) {
super(message);
this.status = status;
this.name = this.constructor.name;
Error.captureStackTrace(this, this.constructor);
}
}
exports.RequestHandlingError = RequestHandlingError;
//# sourceMappingURL=RequestHandlingError.js.map