mirror of
https://github.com/falk-werner/webfuse
synced 2024-10-27 20:34:10 +00:00
15 lines
390 B
JavaScript
15 lines
390 B
JavaScript
|
export class BadState extends Error {
|
||
|
static get BAD() { return 1; }
|
||
|
|
||
|
static get NOT_IMPLEMENTED() { return 2; }
|
||
|
static get TIMEOUT() { return 3; }
|
||
|
static get FORMAT() { return 4; }
|
||
|
|
||
|
static get NO_ENTRY() { return 101; }
|
||
|
static get NO_ACCESS() { return 102; }
|
||
|
|
||
|
constructor(code) {
|
||
|
super("Bad State");
|
||
|
this.code = code;
|
||
|
}
|
||
|
}
|