aboutsummaryrefslogtreecommitdiff
path: root/docs/interfaces/exception.Throw.md
blob: 45404cc4ce93b3c18ab3353be9131dbc0f9b636e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[ts-types-lang](../README.md) / [Modules](../modules.md) / [exception](../modules/exception.md) / Throw

# Interface: Throw<_E\>

[exception](../modules/exception.md).Throw

Generic interface for declaring effects

**`Example`**

```ts
interface MyEffect extends Effect<string[]> {}
```

## Type parameters

| Name | Description |
| :------ | :------ |
| `_E` | The output generated by the effect (defaults to `unknown`) |

## Hierarchy

- [`Effect`](effect.Effect.md)

  ↳ **`Throw`**