Skip to content

Latest commit

 

History

History
73 lines (35 loc) · 926 Bytes

File metadata and controls

73 lines (35 loc) · 926 Bytes

Home > server > ErrorHandler > fatalError

ErrorHandler.fatalError() method

Logs a formatted fatal error message with stack trace and throws the error

Signature:

static fatalError(message: string, context?: string): never;

Parameters

Parameter

Type

Description

message

string

The error message to display

context

string

(Optional) Optional context information about the error

**Returns:**

never

Exceptions

The created Error object