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

Method reject

packages/core/src/utils/syncpromise.ts:181–183  ·  view source on GitHub ↗
(reason: unknown)

Source from the content-addressed store, hash-verified

179 };
180
181 const reject = (reason: unknown): void => {
182 setResult(STATE_REJECTED, reason);
183 };
184
185 try {
186 executor(resolve, reject);

Callers 15

client.test.tsFile · 0.80
trace.test.tsFile · 0.80
utils.test.tsFile · 0.80
base.test.tsFile · 0.80
index.test.tsFile · 0.80
addMethod · 0.80
modelMethod · 0.80
sdk.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected