temporalio.exceptions.ApplicationError

Error raised during workflow/activity execution.

Method __init__ Initialize an application error.
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:

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

Inherited from TemporalError (via FailureError):

Property cause Cause of the exception.

Initialize an application error.

Severity category of the application error

User-defined details on the error.

Delay before the next activity retry attempt.

User activity code may set this when raising ApplicationError to specify a delay before the next activity retry.

Whether the error was set as non-retryable when created.

Note: This is not whether the error is non-retryable via other means such as retry policy. This is just whether the error was marked non-retryable upon creation by the user.