Readonly
descriptionPlain language description of the error
Optional
Readonly
internalOptional inner/triggering error that can contain additional context.
Optional
Readonly
serviceOptional service-specific modelled error data
Readonly
typeThe error's broad category
Generated using TypeDoc
Wrapper type for all exceptions thrown by rpc clients and operations. This includes rejected promises.
The intention is for this data model to help users make better decisions in the presence of errors. Not all errors are fatal/terminal, but JS doesn't really give a natural way to classify or conditionally react to general errors.