These functions have nothing to do with refutable
and should ideally be in separate modules.
Methods
(static) callerInfo(depth) → {string}
Returns source position n frames up the stack
Parameters:
Name | Type | Description |
---|---|---|
depth |
integer | How many frames to skip |
Returns:
source file, line, and column, separated by colon.
- Type
- string
Example
"/foo/bar.js:25:11"