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

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

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

# ClikaRtException

[common]\
class [ClikaRtException](index.md)(val status: [Status](../Status/index.md), val codeName: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), message: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html))

A runtime failure. [codeName](codeName.md) is the machine-readable channel that survives every build flavor; branch on it, never on the message text (release builds may show an opaque message code). [status](status.md) is the coarse class.

## Constructors

| | |
|---|---|
| [ClikaRtException](ClikaRtException.md) | [common]<br>constructor(statusCode: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), codeName: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), message: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html))<br>The form the bridge constructs: the status as its code.<br>constructor(status: [Status](../Status/index.md), codeName: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), message: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)) |

## Properties

| Name | Summary |
|---|---|
| [codeName](codeName.md) | [common]<br>val [codeName](codeName.md): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) |
| [status](status.md) | [common]<br>val [status](status.md): [Status](../Status/index.md) |