Skip to main content

Interface: IHandlerError

nexus.v1.IHandlerError

Properties of a HandlerError.

Hierarchy​

Properties​

errorType​

• Optional errorType: null | string

See https://github.com/nexus-rpc/api/blob/main/SPEC.md#predefined-handler-errors.

Inherited from​

$Properties.errorType


failure​

• Optional failure: null | $Properties

HandlerError failure

Inherited from​

$Properties.failure


retryBehavior​

• Optional retryBehavior: null | NexusHandlerErrorRetryBehavior

Retry behavior, defaults to the retry behavior of the error type as defined in the spec.

Inherited from​

$Properties.retryBehavior