mirror of
https://github.com/sern-handler/website
synced 2026-06-06 17:26:50 +00:00
1.7 KiB
1.7 KiB
id, title, sidebar_label, sidebar_position, custom_edit_url
| id | title | sidebar_label | sidebar_position | custom_edit_url |
|---|---|---|---|---|
| DefaultErrorHandling | Class: DefaultErrorHandling | DefaultErrorHandling | 0 | null |
Since
2.0.0 Version 4.0.0 will internalize this api. Please refrain from using the defaults!
Implements
Constructors
constructor
• new DefaultErrorHandling(): DefaultErrorHandling
Returns
Properties
#keepAlive
• Private #keepAlive: number = 5
Defined in
src/core/structures/services/error-handling.ts:13
Methods
crash
▸ crash(err): never
Parameters
| Name | Type |
|---|---|
err |
Error |
Returns
never
Deprecated
Version 4 will remove this method
Implementation of
Defined in
src/core/structures/services/error-handling.ts:9
updateAlive
▸ updateAlive(err): void
A function that is called on every throw.
Parameters
| Name | Type |
|---|---|
err |
Error |
Returns
void