1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | class ExitError extends Error {
|
4 | constructor(status, error) {
|
5 | const code = 'EEXIT';
|
6 | super(error ? error.message : `${code}: ${status}`);
|
7 | this.error = error;
|
8 | this['cli-ux'] = { exit: status };
|
9 | this.code = code;
|
10 | }
|
11 | }
|
12 | exports.ExitError = ExitError;
|