CallFailed

object CallFailed : Hook<suspend (call: ApplicationCall, cause: Throwable) -> Unit>

A hook that is invoked when a call fails with an exception.

Functions

Link copied to clipboard
open override fun install(pipeline: ApplicationCallPipeline, handler: suspend (call: ApplicationCall, cause: Throwable) -> Unit)

Specifies how to install a hook in the pipeline.