An Explorer error with a stable, machine-readable code and an optional cause.
The message is prefixed with the library name. Use code rather than parsing the message when handling a particular failure.
Creates an error whose name is ExplorerError.
ExplorerError
The category of the failure.
Optional
The detail to prefix with the library name; defaults to code.
code
Error options, including the original cause.
cause
Readonly
The machine-readable category of the failure.
An Explorer error with a stable, machine-readable code and an optional cause.
The message is prefixed with the library name. Use code rather than parsing the message when handling a particular failure.