exception documentation
class ApplicationError(FailureError): (source)
Constructor: ApplicationError(message, *details, type, non_retryable, ...)
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 |
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:
| 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. |
def __init__(self, message:
str, *details: Any, type: str | None = None, non_retryable: bool = False, next_retry_delay: timedelta | None = None, category: ApplicationErrorCategory = ApplicationErrorCategory.UNSPECIFIED):
(source)
¶
Initialize an application 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.