Skip to content

//woua-matrimony-sdk/com.woualabs.matrimony.errors.handler/ExceptionHandlerContext

ExceptionHandlerContext

[common]\ abstract class ExceptionHandlerContext<R>

Types

Name Summary
Companion [common]
object Companion

Functions

Name Summary
catch [common]
inline fun <E : Throwable> catch(noinline catcher: (E) -> Boolean): ExceptionHandlerContext<R>
abstract fun <E : Throwable> catch(clazz: KClass<E>, catcher: (E) -> Boolean): ExceptionHandlerContext<R>
execute [common]
abstract suspend fun execute(): HandlerResult<R, Throwable>
finally [common]
abstract fun finally(block: () -> Unit): ExceptionHandlerContext<R>