Skip to main content

Error handling - Temporal Nexus

SUPPORT, STABILITY, and DEPENDENCY INFO

Nexus Operations can return errors for a caller Workflow to handle. Errors from an asynchronous Operation's underlying Workflow propagate back to the caller.

Errors in Nexus handlers

Nexus handlers may return different error types. By default, handler errors are retryable unless they are:

When the caller's Nexus Machinery receives an error:

tip

Return a specific Nexus error type to avoid infinite retries. See errors in Nexus Operations for additional details.

Nexus error handling in caller Workflows

When a Nexus Operation fails, the caller receives a Nexus Operation Failure containing the Operation name, token, and failure reason. The underlying cause is typically an Application Error or Canceled Error.