Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/getsentry/sentry-javascript
/ getError
Function
getError
packages/node-core/test/helpers/error.ts:2–4 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1
/* this method is exported from an external file to be able to test contextlines when adding an external file */
2
export
function
getError(): Error {
3
return
new
Error(
'mock error'
);
4
}
Callers
1
contextlines.test.ts
File · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected