Exception: MCP::Client::OAuth::Flow::MetadataUnreachableError

Inherits:
AuthorizationError
  • Object
show all
Defined in:
lib/mcp/client/oauth/flow.rb

Overview

Raised by metadata discovery when the answer says nothing about what is published: the request failed to reach the server, or a candidate answered 5xx or 429. Falling back on this would move the flow to a different authorization server because of a transient failure, so it is surfaced instead, as the TypeScript SDK does for network errors outside browsers and the Python SDK does for both.

Instance Attribute Summary

Attributes inherited from AuthorizationError

#error, #error_description, #http_status

Method Summary

Methods inherited from AuthorizationError

#initialize

Constructor Details

This class inherits a constructor from MCP::Client::OAuth::Flow::AuthorizationError