class documentation

Failure converter that preserves Strands exception payloads and retryability.

Method to_failure Translate Strands exceptions to typed ApplicationErrors.

Inherited from DefaultFailureConverter:

Method __init__ Create the default failure converter.
Method from_failure See base class.
Method _error_to_failure Undocumented
Method _nexus_failure_to_temporal_failure Undocumented
Method _nexus_handler_error_to_failure Undocumented
Method _temporal_failure_to_nexus_failure Undocumented
Instance Variable _encode_common_attributes Undocumented

Inherited from FailureConverter (via DefaultFailureConverter):

Class Variable default Default failure converter.
def to_failure(self, exception: BaseException, payload_converter: PayloadConverter, failure: temporalio.api.failure.v1.Failure): (source) ΒΆ

Translate Strands exceptions to typed ApplicationErrors.