EnumMappingConstructor

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
infix fun TO.fromEnumEntry(source: FROM)

Explicitly construct a mapping to TO from source entry source.

Link copied to clipboard
infix fun Throwable.thrownByEnumEntry(source: FROM)

Explicitly construct a mapping to throw an exception from source entry source.