Exception: RubyLLM::MCP::Errors::BaseError
- Inherits:
-
StandardError
- Object
- StandardError
- RubyLLM::MCP::Errors::BaseError
- Defined in:
- lib/ruby_llm/mcp/errors.rb
Direct Known Subclasses
AdapterConfigurationError, AuthenticationRequiredError, Capabilities::CompletionNotAvailable, Capabilities::ResourceSubscribeNotAvailable, Capabilities::TaskCancelNotAvailable, ConfigurationError, InvalidApprovalDecision, InvalidFormatError, InvalidProtocolVersionError, InvalidTransportType, ProgressHandlerNotAvailable, PromptArgumentError, RequestCancelled, ResponseError, SessionExpiredError, TimeoutError, TransportError, UnknownRequest, UnsupportedFeature, UnsupportedProtocolVersion, UnsupportedTransport
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(message:) ⇒ BaseError
constructor
A new instance of BaseError.
Constructor Details
#initialize(message:) ⇒ BaseError
Returns a new instance of BaseError.
9 10 11 12 |
# File 'lib/ruby_llm/mcp/errors.rb', line 9 def initialize(message:) @message = super() end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
7 8 9 |
# File 'lib/ruby_llm/mcp/errors.rb', line 7 def @message end |