tryError Documentation

Function: emitErrorWrapped()
Function

```ts function emitErrorWrapped(cause, error): void; ``` Defined in: [events.ts:272](https://github.com/oconnorjohnson/try-error/blob/e3ae0308069a4fba073f4543d527ad76373db795/src/events.ts#L272) Emit error wrapped event

tryError API Documentation v0.0.1-alpha.1


tryError API Documentation / emitErrorWrapped

Function: emitErrorWrapped()

function emitErrorWrapped(cause, error): void;

Defined in: events.ts:272

Emit error wrapped event

Parameters

cause

unknown

error

TryError

Returns

void