> **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`
