mirror of
https://github.com/denoland/deno.git
synced 2024-11-29 16:30:56 -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";
|
this.name = "WriteZero";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
class Other extends Error {
|
|
||||||
constructor(msg: string) {
|
|
||||||
super(msg);
|
|
||||||
this.name = "Other";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
class UnexpectedEof extends Error {
|
class UnexpectedEof extends Error {
|
||||||
constructor(msg: string) {
|
constructor(msg: string) {
|
||||||
super(msg);
|
super(msg);
|
||||||
|
@ -194,7 +188,6 @@ export const errors = {
|
||||||
TimedOut: TimedOut,
|
TimedOut: TimedOut,
|
||||||
Interrupted: Interrupted,
|
Interrupted: Interrupted,
|
||||||
WriteZero: WriteZero,
|
WriteZero: WriteZero,
|
||||||
Other: Other,
|
|
||||||
UnexpectedEof: UnexpectedEof,
|
UnexpectedEof: UnexpectedEof,
|
||||||
BadResource: BadResource,
|
BadResource: BadResource,
|
||||||
Http: Http
|
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;
|
TimedOut: ErrorConstructor;
|
||||||
Interrupted: ErrorConstructor;
|
Interrupted: ErrorConstructor;
|
||||||
WriteZero: ErrorConstructor;
|
WriteZero: ErrorConstructor;
|
||||||
Other: ErrorConstructor;
|
|
||||||
UnexpectedEof: ErrorConstructor;
|
UnexpectedEof: ErrorConstructor;
|
||||||
BadResource: ErrorConstructor;
|
BadResource: ErrorConstructor;
|
||||||
Http: ErrorConstructor;
|
Http: ErrorConstructor;
|
||||||
|
|
Loading…
Reference in a new issue