Home > server > ErrorHandler > error
Logs a formatted error message with stack trace to help debug issues
Signature:
static error(message: string, context?: string): void;|
Parameter |
Type |
Description |
|---|---|---|
|
message |
string |
The error message to display |
|
context |
string |
(Optional) Optional context information about the error |
void