@sovereignbase/explorer
    Preparing search index...

    Class ExplorerError

    An Explorer error with a stable, machine-readable code and an optional cause.

    The message is prefixed with the library name. Use code rather than parsing the message when handling a particular failure.

    Hierarchy

    • Error
      • ExplorerError
    Index
    • Creates an error whose name is ExplorerError.

      Parameters

      • code: ExplorerErrorCode

        The category of the failure.

      • Optionalmessage: string

        The detail to prefix with the library name; defaults to code.

      • Optionaloptions: ErrorOptions

        Error options, including the original cause.

      Returns ExplorerError

    cause?: unknown

    The machine-readable category of the failure.

    message: string
    name: string
    stack?: string