Exception: VectorMCP::ForbiddenError
- Inherits:
-
ProtocolError
- Object
- StandardError
- Error
- ProtocolError
- VectorMCP::ForbiddenError
- Defined in:
- lib/vector_mcp/errors.rb
Overview
Represents an authorization failed error (-32403). Indicates the authenticated user does not have permission to perform the requested action.
Instance Attribute Summary
Attributes inherited from ProtocolError
#code, #details, #message, #request_id
Instance Method Summary collapse
-
#initialize(message = "Access denied", details: nil, request_id: nil) ⇒ ForbiddenError
constructor
A new instance of ForbiddenError.
Constructor Details
#initialize(message = "Access denied", details: nil, request_id: nil) ⇒ ForbiddenError
Returns a new instance of ForbiddenError.
200 201 202 |
# File 'lib/vector_mcp/errors.rb', line 200 def initialize( = "Access denied", details: nil, request_id: nil) super(, code: -32_403, details: details, request_id: request_id) end |