Skip to content

getCallerLocationFull() function

Home > @rimitive/core > getCallerLocationFull

Parse a stack trace to extract full source location info.

Returns both a short display name and the full file path for editor integration. Skips internal frames (node_modules, rimitive internals) to find the user’s code.

Signature:

export declare function getCallerLocationFull(skipFrames?: number): SourceLocation | undefined;

Parameter

Type

Description

skipFrames

number

(Optional)

Returns:

SourceLocation | undefined