diff options
Diffstat (limited to 'cli/js')
-rw-r--r-- | cli/js/errors.ts | 7 | ||||
-rw-r--r-- | cli/js/lib.deno.ns.d.ts | 1 |
2 files changed, 0 insertions, 8 deletions
diff --git a/cli/js/errors.ts b/cli/js/errors.ts index 44f35b438..6aced228a 100644 --- a/cli/js/errors.ts +++ b/cli/js/errors.ts @@ -154,12 +154,6 @@ class WriteZero extends Error { this.name = "WriteZero"; } } -class Other extends Error { - constructor(msg: string) { - super(msg); - this.name = "Other"; - } -} class UnexpectedEof extends Error { constructor(msg: string) { super(msg); @@ -194,7 +188,6 @@ export const errors = { TimedOut: TimedOut, Interrupted: Interrupted, WriteZero: WriteZero, - Other: Other, UnexpectedEof: UnexpectedEof, BadResource: BadResource, Http: Http diff --git a/cli/js/lib.deno.ns.d.ts b/cli/js/lib.deno.ns.d.ts index 4a13bafb6..9a339f3d2 100644 --- a/cli/js/lib.deno.ns.d.ts +++ b/cli/js/lib.deno.ns.d.ts @@ -1317,7 +1317,6 @@ declare namespace Deno { TimedOut: ErrorConstructor; Interrupted: ErrorConstructor; WriteZero: ErrorConstructor; - Other: ErrorConstructor; UnexpectedEof: ErrorConstructor; BadResource: ErrorConstructor; Http: ErrorConstructor; |