forked from Lilly-Protocol/lily-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.mjs
More file actions
32 lines (32 loc) · 803 Bytes
/
Copy pathindex.mjs
File metadata and controls
32 lines (32 loc) · 803 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//#region src/index.ts
var GitError = class extends Error {
code;
constructor(code, message) {
super(`${message}, exit code: ${code}`);
this.code = code;
}
};
var ExitError = class extends Error {
code;
constructor(code, options) {
super(`The process exited with code: ${code}`, options);
this.code = code;
}
};
var PreExitButNotInPreModeError = class extends Error {
constructor() {
super("pre mode cannot be exited when not in pre mode");
}
};
var PreEnterButInPreModeError = class extends Error {
constructor() {
super("pre mode cannot be entered when in pre mode");
}
};
var InternalError = class extends Error {
constructor(message) {
super(message);
}
};
//#endregion
export { ExitError, GitError, InternalError, PreEnterButInPreModeError, PreExitButNotInPreModeError };