You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
874 B
23 lines
874 B
1 month ago
|
import { ParseOptions, StackFrame } from './lite.js';
|
||
|
export { StackFrameLite, extractLocation } from './lite.js';
|
||
|
|
||
|
/**
|
||
|
* Port from https://github.com/stacktracejs/error-stack-parser
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* Given an Error object, extract the most information from it.
|
||
|
*
|
||
|
* @param {Error} error object
|
||
|
* @return {Array} of StackFrames
|
||
|
*/
|
||
|
declare function parse(error: Error, options?: ParseOptions): StackFrame[];
|
||
|
declare function parseV8OrIE(error: Error): StackFrame[];
|
||
|
declare function parseFFOrSafari(error: Error): StackFrame[];
|
||
|
declare function parseOpera(e: Error): StackFrame[];
|
||
|
declare function parseOpera9(e: Error): StackFrame[];
|
||
|
declare function parseOpera10(e: Error): StackFrame[];
|
||
|
declare function parseOpera11(error: Error): StackFrame[];
|
||
|
|
||
|
export { ParseOptions, StackFrame, parse, parseFFOrSafari, parseOpera, parseOpera10, parseOpera11, parseOpera9, parseV8OrIE };
|