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

    Class VivInternalError

    Error thrown when the Viv runtime reaches a state that should be impossible.

    A VivInternalError indicates a bug in the Viv runtime itself, not a content or integration issue.

    If you encounter an instance of this error, please report it.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    name: VivErrorName = VivErrorName.VivInternalError

    The name for a VivInternalError.

    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.