Converts any type of error source into an Error.
An error with the error source as message.
The type of the error.
the error source.
Generated using TypeDoc
Converts any type of error source into an Error.
Returns
An error with the error source as message.