Home > server > ErrorHandler > fatalError
Logs a formatted fatal error message with stack trace and throws the error
Signature:
static fatalError(message: string, context?: string): never;|
Parameter |
Type |
Description |
|---|---|---|
|
message |
string |
The error message to display |
|
context |
string |
(Optional) Optional context information about the error |
never
The created Error object