Stone.js API
    Preparing search index...

    Raised for a setup mistake, so a misconfigured server never looks like a failing tool.

    The distinction matters here more than usual: an agent retries what looks retryable, and a server that answered "tool failed" to "there is no router" would be retried forever.

    Hierarchy

    • IntegrationError
      • McpConfigurationError
    Index
    • Parameters

      • message: string
      • options: ErrorOptions = {}

      Returns McpConfigurationError

    cause?: Error
    code?: string
    metadata?: unknown
    • Converts the error to a formatted string representation.

      Parameters

      • Optionalmultiline: boolean

        Determine if output value must be multiline or not.

      Returns string

      A formatted error string.

    • Create a RuntimeError.

      Type Parameters

      • T extends RuntimeError = RuntimeError

      Parameters

      • message: string
      • Optionaloptions: ErrorOptions

        The options to create a RuntimeError.

      Returns T

      A new RuntimeError instance.