exception documentation

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 was set as non-retryable when created.
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 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.

General error type.

_details = (source)

Undocumented

_non_retryable = (source)

Undocumented

Undocumented