RecoverableExceptionRegistrar

Registry for managing recoverable exception classifications.

This object maintains a mapping of exception classes to their RecoverableType, allowing the framework to determine whether specific exceptions can be recovered from through retry mechanisms.

See also

Functions

Link copied to clipboard

Retrieves the registered recoverable type for an exception class.

Link copied to clipboard
fun register(throwableClass: Class<out Throwable>, recoverableType: RecoverableType)

Registers a recoverable type classification for an exception class.

Link copied to clipboard
fun unregister(throwableClass: Class<out Throwable>)

Unregisters the recoverable type classification for an exception class.