UNPKG

555 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3class Exception extends Error {
4}
5exports.Exception = Exception;
6class JobException extends Exception {
7 constructor(msg, type) {
8 super(msg);
9 this.msg = msg;
10 this.type = type;
11 }
12}
13exports.JobException = JobException;
14class 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}
22exports.ShellException = ShellException;