exception documentation
class DeepAgentsWorkflowError(ApplicationError): (source)
Constructor: DeepAgentsWorkflowError(message, non_retryable)
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 |
Delay before the next activity retry attempt. |
| Property | non |
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 |
Undocumented |
| Instance Variable | _non |
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. |