exception documentation

Raised for non-retryable Deep Agents failures surfaced in the workflow.

This is the type registered in the plugin's workflow_failure_exception_types, so a model / tool failure that Temporal has exhausted (or an invalid agent configuration) fails the workflow with a stable ApplicationError.type — never a stringified peer exception.

Method __init__ Construct the error with the plugin's stable failure type.
Constant TYPE Undocumented

Inherited from ApplicationError:

Property category Severity category of the application error
Property details User-defined details on the error.
Property next_retry_delay Delay before the next activity retry attempt.
Property non_retryable Whether the error was set as non-retryable when created.
Property type General error type.
Instance Variable _category Undocumented
Instance Variable _details Undocumented
Instance Variable _next_retry_delay Undocumented
Instance Variable _non_retryable Undocumented
Instance Variable _type Undocumented

Inherited from FailureError (via ApplicationError):

Property failure Underlying protobuf failure object.
Property message Message.
Instance Variable _failure Undocumented
Instance Variable _message Undocumented

Inherited from TemporalError (via ApplicationError, FailureError):

Property cause Cause of the exception.
def __init__(self, message: str, *, non_retryable: bool = True): (source)

Construct the error with the plugin's stable failure type.

Undocumented

Value
'deepagents.DeepAgentsWorkflowError'