Interface ExceptionInfo

Information about an exception that can be used to determine if it should be ignored

interface ExceptionInfo {
    error?: Error;
    filename?: string;
    handler?: string;
    line?: number;
    message: string;
    stack?: string;
}

Properties

error?: Error

The error object, if available

filename?: string

The filename/URL where the error occurred

handler?: string

The type of handler that caught the error (e.g., 'Error', 'UnhandledRejection')

line?: number

The line number where the error occurred

message: string

The error message

stack?: string

The stack trace, if available