Skip to main content
Version: 57.2.0

getDisableExternalErrorTracking

getDisableExternalErrorTracking(error): boolean | undefined

Safely extracts the disableExternalErrorTracking property from an error. Works with both APIError instances and regular Error objects that may have this property attached.

Parameters

error

unknown

Returns

boolean | undefined