StatusPages

class StatusPages

Status pages feature that handles exceptions and status codes. Useful to configure default error pages.

Types

Configuration

class Configuration

Status pages feature config

Feature

companion object Feature : 
    ApplicationFeature<ApplicationCallPipeline, Configuration, StatusPages>

Feature installation object

Constructors

<init>

StatusPages(config: Configuration)

Status pages feature that handles exceptions and status codes. Useful to configure default error pages.

Companion Object Properties

key

Unique key that identifies a feature

Companion Object Functions

install

fun install(
    pipeline: ApplicationCallPipeline,
    configure: Configuration.() -> Unit
): StatusPages

Feature installation script