@procivis/react-native-one-core
    Preparing search index...

    Class OneError

    Specific errors being thrown from the ONECore functions

    Hierarchy

    • Error
      • OneError
    Index

    Constructors

    • Parameters

      • params: {
            cause?: string;
            code: string;
            message: string;
            operation: string;
            originalError: Error;
        }

      Returns OneError

    Properties

    cause?: string
    code: string
    message: string
    name: string
    operation: string
    originalError: Error
    stack?: string
    prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

    Optional override for formatting stack traces

    stackTraceLimit: number

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void