1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.CustomError = void 0;
|
4 | class CustomError extends Error {
|
5 | constructor(message) {
|
6 | super(message);
|
7 | Object.setPrototypeOf(this, CustomError.prototype);
|
8 | Error.captureStackTrace(this, this.constructor);
|
9 | this.name = this.constructor.name;
|
10 | }
|
11 | }
|
12 | exports.CustomError = CustomError;
|
13 | //# sourceMappingURL=custom-error.js.map |
\ | No newline at end of file |