Class: HandlerError
Represents a HandlerError.
Implements
Constructors
constructor
• new HandlerError(properties?): HandlerError
Constructs a new HandlerError.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | IHandlerError | Properties to set |
Returns
Properties
errorType
• errorType: string
See https://github.com/nexus-rpc/api/blob/main/SPEC.md#predefined-handler-errors.
Implementation of
failure
• Optional failure: null | IFailure
HandlerError failure.
Implementation of
retryBehavior
• retryBehavior: NexusHandlerErrorRetryBehavior
Retry behavior, defaults to the retry behavior of the error type as defined in the spec.