summaryrefslogtreecommitdiff
path: root/cli/js/errors.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2020-03-04 13:18:32 -0500
committerGitHub <noreply@github.com>2020-03-04 13:18:32 -0500
commita1b98e9e6a204c3d522593cfb8593be5855d6615 (patch)
treef5fcc81235155b2079b6ef9f4b2ea8f7b0855859 /cli/js/errors.ts
parent8d96dffa410a149d0fff6115bd97f41fc1fe7459 (diff)
Remove Deno.errors.Other (#4249)
Diffstat (limited to 'cli/js/errors.ts')
-rw-r--r--cli/js/errors.ts7
1 files changed, 0 insertions, 7 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