Options for error handling.
The type of the error.
Optional
Callback to handle the error.
Function to transform the caught error.
Options for error handling.