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 |
Classes
Methods
getCause() → {Error|unknown|null}
Get the cause (inner exception) of this exception.
Returns:
The inner exception.
- Type
- Error | unknown | null