ErrorConverterFactory

Factory interface for creating ErrorConverter instances.

This interface allows for dynamic creation of error converters and provides type information about the exceptions they can handle.

Parameters

E

the type of exception the created converter can handle

See also

Inheritors

Properties

Link copied to clipboard
abstract val supportedType: Class<E>

The class of exceptions this factory can create converters for.

Functions

Link copied to clipboard
abstract fun create(): ErrorConverter<E>

Creates a new ErrorConverter instance.