MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / err

Function err

packages/replay-worker/examples/worker.js:150–156  ·  view source on GitHub ↗
(ind, msg, nt)

Source from the content-addressed store, hash-verified

148 // determined by unknown compression method
149];
150var err = function (ind, msg, nt) {
151 var e = new Error(msg || ec[ind]);
152 e.code = ind;
153 if (Error.captureStackTrace) Error.captureStackTrace(e, err);
154 if (!nt) throw e;
155 return e;
156};
157// starting at p, write the minimum number of bits that can hold v to d
158var wbits = function (d, p, v) {
159 v <<= p & 7;

Callers 1

worker.jsFile · 0.85

Calls 1

captureStackTraceMethod · 0.80

Tested by

no test coverage detected