N E W
Class representing a stack trace for debugging purposes.
Constructor
new StackTrace(stackMessage?)| Parameter | Type | Default Value |
|---|---|---|
| stackMessage? | null | string | Error | null |
Creates a StackTrace instance by capturing and filtering the current stack trace.
Properties
| Property | Type | Default Value | |
|---|---|---|---|
| isStackTrace | boolean | — | |
| stack | Array<{ fn: string; file: string; line: number; column: number; }> | — | |
| Method | Type | |
|---|---|---|
| getLocation | () => string | |
| getError | (message: string) => string | |