mirror of
https://github.com/sern-handler/handler
synced 2026-06-06 01:16:55 +00:00
19 lines
375 B
TypeScript
19 lines
375 B
TypeScript
import type { CommandModule,Processed, EventModule } from "../../types/core-modules";
|
|
|
|
/**
|
|
* @since 2.0.0
|
|
*/
|
|
export interface ErrorHandling {
|
|
/**
|
|
* @deprecated
|
|
* Version 4 will remove this method
|
|
*/
|
|
crash(err: Error): never;
|
|
/**
|
|
* A function that is called on every crash.
|
|
* @param error
|
|
*/
|
|
updateAlive(error: Error): void;
|
|
|
|
}
|