You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
435 B
14 lines
435 B
|
2 years ago
|
"use strict";
|
||
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
|
exports.CliError = void 0;
|
||
|
|
class CliError extends Error {
|
||
|
|
constructor(message, type, error_code = 1) {
|
||
|
|
super(message);
|
||
|
|
this.__proto__ = Error;
|
||
|
|
this.type = type;
|
||
|
|
this.error_code = error_code;
|
||
|
|
Object.setPrototypeOf(this, CliError.prototype);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
exports.CliError = CliError;
|
||
|
|
//# sourceMappingURL=cli-error.js.map
|