Viv JavaScript Runtime - v0.10.2
    Preparing search index...

    Class VivNotInitializedError

    Error thrown when a Viv runtime API function is called before the runtime has been initialized.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    name: VivErrorName = VivErrorName.VivNotInitializedError

    The name for a VivNotInitializedError.

    Methods

    • A custom inspect handler that produces a human-readable summary of the error.

      This handler will be invoked when the error is displayed in Node via console.log, console.error, util.inspect, or its uncaught-exception output.

      A few notes

      • This method only controls the display format. The structured properties will remain available for programmatic access.
      • The child error types may override this with more specific handlers.

      Parameters

      • depth: number

        The current recursion depth in the Node inspect call.

      • options: { colors: boolean }

        The Node inspect options (used to determine whether colors are enabled).

      Returns string

      A formatted string summarizing the error.