---
url: /api/kiln/browser/functions/showError.md
---
[Kiln API](../../../index.md) / [kiln/browser](../index.md) / showError

# Function: showError()

```ts
function showError(err): void;
```

Shows an error over the canvas. Agents read it with `kiln shot` or the console.

## Parameters

| Parameter | Type |
| ------ | ------ |
| `err` | `unknown` |

## Returns

`void`
