summaryrefslogtreecommitdiff
path: root/src/misc/errors.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/errors.ts')
-rw-r--r--src/misc/errors.ts7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/misc/errors.ts b/src/misc/errors.ts
index ec12b6a..1bc369a 100644
--- a/src/misc/errors.ts
+++ b/src/misc/errors.ts
@@ -1,12 +1,5 @@
export const DOES_NOT_SUPPORT_FETCH = 0;
-export class YacdError extends Error {
- constructor(public message: string, public code?: string | number) {
- super(message);
- Error.captureStackTrace(this, this.constructor);
- }
-}
-
export const errors = {
[DOES_NOT_SUPPORT_FETCH]: {
message: 'Browser not supported!',