Exception: VectorMCP::ForbiddenError

Inherits:
ProtocolError show all
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

Constructor Details

#initialize(message = "Access denied", details: nil, request_id: nil) ⇒ ForbiddenError



224
225
226
# File 'lib/vector_mcp/errors.rb', line 224

def initialize(message = "Access denied", details: nil, request_id: nil)
  super(message, code: -32_403, details: details, request_id: request_id)
end