Files
website/docs/api/interfaces/ErrorHandling.md
2024-03-09 14:30:19 +00:00

955 B

id, title, sidebar_label, sidebar_position, custom_edit_url
id title sidebar_label sidebar_position custom_edit_url
ErrorHandling Interface: ErrorHandling ErrorHandling 0 null

Since

2.0.0

Implemented by

Methods

crash

crash(err): never

Parameters

Name Type
err Error

Returns

never

Deprecated

Version 4 will remove this method

Defined in

src/core/contracts/error-handling.ts:9


updateAlive

updateAlive(error): void

A function that is called on every throw.

Parameters

Name Type
error Error

Returns

void

Defined in

src/core/contracts/error-handling.ts:14