UNPKG

show-js-error

Version:

Show a message about a js error in any browser

12 lines (11 loc) 373 B
export interface ExtendedError { colno?: number; lineno?: number; filename?: string; message?: string; stack?: string; title?: string; } export declare function getStack(error?: ExtendedError): string; export declare function getMessage(error?: ExtendedError): string; export declare function getFilenameWithPosition(error?: ExtendedError): string;