---
title: "ExceptionHandler"
sidebar_label: "ExceptionHandler"
description: "Kotlin binding reference: ExceptionHandler."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.runtime](../index.md)/[ExceptionHandler](index.md)

# ExceptionHandler

[common]\
fun interface [ExceptionHandler](index.md)

The page of a failed handler (one that raised): the request and the failure's text in, the response out.

## Functions

| Name | Summary |
|---|---|
| [run](run.md) | [common]<br>abstract fun [run](run.md)(request: [ServerRequest](../ServerRequest/index.md), what: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)): [ServerResponse](../ServerResponse/index.md) |