stacktrace-parser-node
Version:
Stacktrace parser for NodeJS written in Typescript with getting the code in which the error occurs.
23 lines • 504 B
TypeScript
export interface Trace {
filename?: string;
function?: string;
lineNo?: number;
columnNo?: number;
internal?: boolean;
absPath?: string;
extension?: string;
preCode?: string[];
code?: string;
postCode?: string[];
}
export interface SourceCode {
code: string;
preCode: string[];
postCode: string[];
}
export interface ErrorResponse {
message: string;
name: string;
traces: Trace[];
}
//# sourceMappingURL=types.d.ts.map