PHP 7.4.33
Preview: stack-trace-parser.d.ts Size: 529 B
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/stacktrace-parser/dist/stack-trace-parser.d.ts
import { LiteralUnion } from 'type-fest';

export interface StackFrame {
  file: string | null;
  methodName: LiteralUnion<'<unknown>', string>;
  arguments: string[];
  lineNumber: number | null;
  column: number | null;
}

/**
 * This parser parses a stack trace from any browser or Node.js and returns an array of hashes representing a line.
 * 
 * @param stackString - The stack to parse, usually from `error.stack` property.
 * @returns The parsed stack frames.
 */
export function parse(stackString: string): StackFrame[];

Directory Contents

Dirs: 0 × Files: 3
Name Size Perms Modified Actions
3.51 KB lrw-r--r-- 2025-03-28 11:04:34
Edit Download
529 B lrw-r--r-- 2025-03-28 11:04:34
Edit Download
3.43 KB lrw-r--r-- 2025-03-28 11:04:34
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).