Package-level declarations

Types

Link copied to clipboard
typealias HandlerFunction = suspend (call: ApplicationCall, cause: Throwable) -> Unit

Specifies how the exception should be handled.

Link copied to clipboard

A StatusPages plugin configuration.

Functions

Link copied to clipboard

Register an exception handler for the exception class klass and its children

Link copied to clipboard
fun StatusPagesConfig.statusFile(vararg code: HttpStatusCode, filePattern: String)

Register a status page file(s) using filePattern for multiple status code list

Properties

Link copied to clipboard

A plugin that handles exceptions and status codes. Useful to configure default error pages.