ThrowingAnswer

data class ThrowingAnswer(val ex: Throwable) : Answer<Nothing>

Throws exception instead of function reply

Constructors

Link copied to clipboard
fun ThrowingAnswer(ex: Throwable)

Functions

Link copied to clipboard
open override fun answer(call: Call): Nothing
Link copied to clipboard
open suspend fun coAnswer(call: Call): Nothing

Properties

Link copied to clipboard
val ex: Throwable