Module: tff.framework.executors_errors

Stay organized with collections Save and categorize content based on your preferences.

Custom exceptions and symbols for TFF executors.

Classes

class CardinalityError: Raised when a value in a stack does not match the stack's cardinality.

class RetryableAbslStatusError: Raised when execution fails with an absl status error and can be retried.

class RetryableError: Raised when execution fails and can be retried.

class RetryableGRPCError: Raised when execution fails across a gRPC connection and can be retried.

Functions

get_absl_status_retryable_error_codes(...): Returns Absl retryable error codes.

get_grpc_retryable_error_codes(...): Returns gRPC retryable error codes.

is_absl_status_retryable_error(...): Checks if the exception is an absl status error that can be retried.