ErrorConverter

fun interface ErrorConverter<E : Throwable>

Functional interface for converting exceptions to standardized error information.

Implementations of this interface define how specific exception types should be transformed into ErrorInfo objects for consistent error reporting and handling.

Parameters

E

the type of exception this converter can handle

See also

Inheritors

Functions

Link copied to clipboard
abstract fun convert(error: E): ErrorInfo

Converts an exception to an ErrorInfo object.