Zoltan Demant
12/15/2023, 9:35 AMreceive
is not allowed to be called multiple times, so this should be illegal to do? Presumption is that Ive already called receive
in my routes before the error is thrown.
install(StatusPages) {
exception<Throwable> { call, throwable ->
val errorOrNull = call.receiveNullable<Error>() // Multiple receive not allowed, IIRC?
}
}
Aleksei Tirman [JB]
12/15/2023, 10:34 AMZoltan Demant
12/15/2023, 10:53 AM