getStackTrace
Gets the current stack trace as a string, excluding the current function call.
Import:
import { getStackTrace } from 'obsidian-dev-utils/error';Signature:
function getStackTrace(framesToSkip: number): stringParameters:
| Parameter | Type | Description |
|---|---|---|
framesToSkip | number | The number of frames to skip in the stack trace. |
Returns: string — A string representation of the current stack trace, excluding the current function call.