RecoverableType

Defines the recoverability classification for errors and operations.

This enum categorizes errors based on whether they can be resolved through retry mechanisms. It provides a standardized way to determine error handling strategies, enabling intelligent retry policies and failure recovery in distributed systems.

The classification helps in:

  • Implementing circuit breakers and retry logic

  • Determining appropriate error responses to clients

  • Logging and monitoring error patterns

  • Resource allocation for error recovery

See also

for retry policy annotations

Samples

Entries

Link copied to clipboard

Indicates that the error or operation failure is recoverable through retry.

Link copied to clipboard

Indicates that the error or operation failure is not recoverable through retry.

Link copied to clipboard

Indicates that the recoverability of the error cannot be determined.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.