UNPKG

declarapi

Version:
13 lines 457 B
"use strict"; 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