mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -05:00
Remove Deno.errors.Other (#4249)
This commit is contained in:
parent
8d96dffa41
commit
a1b98e9e6a
2 changed files with 0 additions and 8 deletions
|
@ -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
|
||||
|
|
1
cli/js/lib.deno.ns.d.ts
vendored
1
cli/js/lib.deno.ns.d.ts
vendored
|
@ -1317,7 +1317,6 @@ declare namespace Deno {
|
|||
TimedOut: ErrorConstructor;
|
||||
Interrupted: ErrorConstructor;
|
||||
WriteZero: ErrorConstructor;
|
||||
Other: ErrorConstructor;
|
||||
UnexpectedEof: ErrorConstructor;
|
||||
BadResource: ErrorConstructor;
|
||||
Http: ErrorConstructor;
|
||||
|
|
Loading…
Reference in a new issue