Skip to main content

Interface: IHandlerError

Properties of a HandlerError.

Extends​

Properties​

errorType?​

optional errorType?: string | null

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

Inherited from​

$Properties.errorType


failure?​

optional failure?: $Properties | null

HandlerError failure

Inherited from​

$Properties.failure


retryBehavior?​

optional retryBehavior?: NexusHandlerErrorRetryBehavior | null

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

Inherited from​

$Properties.retryBehavior