class documentation

class ApplicationError(FailureError): (source)

View In Hierarchy

Error raised during workflow/activity execution.

Method __init__ Initialize an application error.
Property details User-defined details on the error.
Property non_retryable Whether the error is non-retryable.
Property type General error type.
Instance Variable _details 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.
def __init__(self, message: str, *details: Any, type: Optional[str] = None, non_retryable: bool = False): (source)

Initialize an application error.

User-defined details on the error.

@property
non_retryable: bool = (source)

Whether the error is non-retryable.

General error type.

_details = (source)

Undocumented

_non_retryable = (source)

Undocumented

_type = (source)

Undocumented