ErrorHandlerResponse

data class ErrorHandlerResponse(val errorCode: String, val mimeType: String, val staticFile: String)

Custom static error page to be served when an error occurs.

Constructors

Link copied to clipboard
fun ErrorHandlerResponse(errorCode: String, mimeType: String, staticFile: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Error condition this handler applies to.

Link copied to clipboard

MIME type of file. Defaults to text/html.

Link copied to clipboard

Static file content to be served for this error.