java-bridge
    Preparing search index...

    Class JavaError

    An error thrown from the java process. This error may contain the java throwable that caused this error. The cause is only available in synchronous calls.

    Hierarchy

    • Error
      • JavaError
    Index

    Constructors

    • Parameters

      • Optionalmessage: string

      Returns JavaError

    • Parameters

      • Optionalmessage: string
      • Optionaloptions: ErrorOptions

      Returns JavaError

    Properties

    The throwable that caused this error. This is only available in synchronous calls or if the JavaConfig.asyncJavaExceptionObjects option is true.

    message: string
    name: string
    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