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

    Interface NativeExceptionLike

    Duck-typed view of the nativeException the runtimes attach to JS errors born from a native throw (NSException/NSError on iOS, Throwable on Android). Property access marshals lazily, so only touch what exists.

    interface NativeExceptionLike {
        callStackSymbols?: {
            count: number;
            objectAtIndex(index: number): string;
        };
        code?: number;
        domain?: string;
        localizedDescription?: string;
        name?: string;
        reason?: string;
        userInfo?: unknown;
        getClass?(): { getName(): string };
        getMessage?(): string;
        getStackTrace?(): {
            length: number;
            [index: number]: {
                getClassName(): string;
                getFileName(): string;
                getLineNumber(): number;
                getMethodName(): string;
            };
        };
    }
    Index

    Properties

    callStackSymbols?: { count: number; objectAtIndex(index: number): string }

    NSException only — symbolicated frames captured at the native

    site.

    code?: number
    domain?: string

    NSError only

    localizedDescription?: string
    name?: string
    reason?: string
    userInfo?: unknown

    Methods

    • Throwable only

      Returns { getName(): string }

    • Returns string

    • Returns {
          length: number;
          [index: number]: {
              getClassName(): string;
              getFileName(): string;
              getLineNumber(): number;
              getMethodName(): string;
          };
      }