Skip to main content

Interface: $Properties

v1.HandlerError.$Properties

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.


failure

Optional failure: null | $Properties

HandlerError failure


retryBehavior

Optional retryBehavior: null | NexusHandlerErrorRetryBehavior

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