Class: IOException

IOException(msg, ex)

Thrown when an io operation has errored

Constructor

new IOException(msg, ex)

Construct an exception with a specific message and inner exception
Parameters:
Name Type Default Description
msg string | null null The provided message
ex Error | unknown | null null The inner exception
Source:

Classes

IOException

Methods

getCause() → {Error|unknown|null}

Get the cause (inner exception) of this exception.
Source:
Returns:
The inner exception.
Type
Error | unknown | null