From a1b98e9e6a204c3d522593cfb8593be5855d6615 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Wed, 4 Mar 2020 13:18:32 -0500 Subject: Remove Deno.errors.Other (#4249) --- cli/js/errors.ts | 7 ------- 1 file changed, 7 deletions(-) (limited to 'cli/js/errors.ts') 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 -- cgit v1.2.3