summaryrefslogtreecommitdiff
path: root/cli/tsc/dts/lib.deno.ns.d.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-07-03 15:30:39 +0200
committerGitHub <noreply@github.com>2023-07-03 15:30:39 +0200
commit26c2abef7fce9aaad18cd86416dd9b032c9fa767 (patch)
tree35c1a4df0bbe77147881a3d4fc7a2fb88d3d029e /cli/tsc/dts/lib.deno.ns.d.ts
parent0f4051a37ad23377091043206e64126003caa480 (diff)
fix: Update typings for Deno.errors namespace (#19688)
Follow up to https://github.com/denoland/deno/pull/19514, where I forgot to update type declarations.
Diffstat (limited to 'cli/tsc/dts/lib.deno.ns.d.ts')
-rw-r--r--cli/tsc/dts/lib.deno.ns.d.ts23
1 files changed, 23 insertions, 0 deletions
diff --git a/cli/tsc/dts/lib.deno.ns.d.ts b/cli/tsc/dts/lib.deno.ns.d.ts
index cad8c6f55..a80ced189 100644
--- a/cli/tsc/dts/lib.deno.ns.d.ts
+++ b/cli/tsc/dts/lib.deno.ns.d.ts
@@ -261,6 +261,29 @@ declare namespace Deno {
*
* @category Errors */
export class NotSupported extends Error {}
+ /**
+ * Raised when too many symbolic links were encountered when resolving the
+ * filename.
+ *
+ * @category Errors */
+ export class FilesystemLoop extends Error {}
+ /**
+ * Raised when trying to open, create or write to a directory.
+ *
+ * @category Errors */
+ export class IsADirectory extends Error {}
+ /**
+ * Raised when performing a socket operation but the remote host is
+ * not reachable.
+ *
+ * @category Errors */
+ export class NetworkUnreachable extends Error {}
+ /**
+ * Raised when trying to perform an operation on a path that is not a
+ * directory, when directory is required.
+ *
+ * @category Errors */
+ export class NotADirectory extends Error {}
}
/** The current process ID of this instance of the Deno CLI.