diff options
| author | Matain <[email protected]> | 2022-06-12 23:57:53 +0800 |
|---|---|---|
| committer | Matain <[email protected]> | 2022-06-12 23:57:53 +0800 |
| commit | a0fedebe3e03bda70b59881b0c49b87af6771a33 (patch) | |
| tree | 4d7d087aa46a2b1cf39717e14ed4f805300897c2 /src/misc/errors.ts | |
| parent | 065069e5528f01c87e22b613913fb8e0df3b8d4a (diff) | |
Revert "Merge branch 'haishanh-master'"
This reverts commit e4e921e0b93f74bf126ca80cbb83f5e912f73a88, reversing
changes made to a825925cc97d95762634d234ef06be1627a21fb1.
Diffstat (limited to 'src/misc/errors.ts')
| -rw-r--r-- | src/misc/errors.ts | 7 |
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!', |
