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

Function _isInternalError

packages/core/src/client.ts:93–95  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

91}
92
93function _isInternalError(error: unknown): error is InternalError {
94 return !!error && typeof error === 'object' && INTERNAL_ERROR_SYMBOL in error;
95}
96
97function _isDoNotSendEventError(error: unknown): error is DoNotSendEventError {
98 return !!error && typeof error === 'object' && DO_NOT_SEND_EVENT_SYMBOL in error;

Callers 2

_captureEventFunction · 0.85
_processEventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected