MCPcopy 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 */
2export function getError(): Error {
3 return new Error('mock error');
4}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected