HandlerFunction

typealias HandlerFunction = suspend (call: ApplicationCall, cause: Throwable) -> Unit

Specifies how the exception should be handled.