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

Function isErrorEvent

packages/core/src/client.ts:1746–1748  ·  view source on GitHub ↗
(event: Event)

Source from the content-addressed store, hash-verified

1744}
1745
1746function isErrorEvent(event: Event): event is ErrorEvent {
1747 return event.type === undefined;
1748}
1749
1750function isTransactionEvent(event: Event): event is TransactionEvent {
1751 return event.type === 'transaction';

Callers 5

_captureEventFunction · 0.70
_processEventFunction · 0.70
processBeforeSendFunction · 0.70
eventFromUnknownInputFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected