1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | class Exception extends Error {
|
4 | }
|
5 | exports.Exception = Exception;
|
6 | class JobException extends Exception {
|
7 | constructor(msg, type) {
|
8 | super(msg);
|
9 | this.msg = msg;
|
10 | this.type = type;
|
11 | }
|
12 | }
|
13 | exports.JobException = JobException;
|
14 | class ShellException extends JobException {
|
15 | constructor(msg, type, code) {
|
16 | super(msg, type);
|
17 | this.msg = msg;
|
18 | this.type = type;
|
19 | this.code = code;
|
20 | }
|
21 | }
|
22 | exports.ShellException = ShellException;
|