Raised when attempting to open a server listener on an address and portthat already has a listener.
Raised when the underlying operating system reports an EADDRNOTAVAIL
error.
Raised when trying to create a resource, like a file, that alreadyexits.
The underlying IO resource is invalid or closed, and so the operationcould not be performed.
Raised when trying to write to a resource and a broken pipe error occurs.This can happen when trying to write directly to stdout
or stderr
and the operating system is unable to pipe the output for a reasonexternal to the Deno runtime.
Raised when the underlying IO resource is not available because it isbeing awaited on in another block of code.
Raised when the underlying operating system reports an ECONNABORTED
error.
Raised when the underlying operating system reports that a connection toa resource is refused.
Raised when the underlying operating system reports that a connection hasbeen reset. With network servers, it can be a normal occurrence where aclient will abort a connection instead of properly shutting it down.
Raised when too many symbolic links were encountered when resolving thefilename.
Raised in situations where when attempting to load a dynamic import,too many redirects were encountered.
Raised when the underlying operating system reports an EINTR
error. Inmany cases, this underlying IO error will be handled internally withinDeno, or result in an @{link BadResource} error instead.
Raised when an operation to returns data that is invalid for theoperation being performed.
Raised when trying to open, create or write to a directory.
Raised when performing a socket operation but the remote host isnot reachable.
Raised when trying to perform an operation on a path that is not adirectory, when directory is required.
Raised when trying to perform an operation while the relevant Denopermission (like --allow-read
) has not been granted.
Raised when the underlying operating system reports an ENOTCONN
error.
Raised when the underlying operating system indicates that the filewas not found.
Raised when the underlying Deno API is asked to perform a function thatis not currently supported.
Raised when the underlying operating system indicates the current userwhich the Deno process is running under does not have the appropriatepermissions to a file or resource.
Raised when the underlying operating system reports that an I/O operationhas timed out (ETIMEDOUT
).
Raised when attempting to read bytes from a resource, but the EOF wasunexpectedly encountered.
Raised when the underlying operating system would need to block tocomplete but an asynchronous (non-blocking) API is used.
Raised when expecting to write to a IO buffer resulted in zero bytesbeing written.
A set of error constructors that are raised by Deno APIs.