summaryrefslogtreecommitdiff
path: root/docs/type_system/error.md
blob: fbd15eb1581e5479fe3312affd812d7dd898de2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Error

---

An error for reporting, the data used to create it cannot be accessed

```text
Error[[]]
```

## Type Body Object Definitions

```c
typedef struct {
    // EMPTY
} kpl_type_body_error;
```

## Example

```text
e : Error $ "This is an error"
```