@nativescript-community/sentry
    Preparing search index...

    Function toCapturableError

    • Normalizes a thrown/rejection value for capture. A directly-thrown wrapped native exception (NSException/NSError/Throwable — not an Error, no .stack) gets wrapped in an Error carrying its name and message, with the native exception re-attached so the NativeException integration still enriches it. Any other non-Error value is wrapped too, using a summary of the payload as the message (re-attached to the event as extra.capturedValue) so the event stays groupable and searchable instead of being titled by its key list.

      Parameters

      • value: unknown
      • fallbackMessage: string

      Returns unknown