Exception: ActionAgent::Api::McpController::McpError
- Inherits:
-
StandardError
- Object
- StandardError
- ActionAgent::Api::McpController::McpError
- Defined in:
- app/controllers/action_agent/api/mcp_controller.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(message, code = JSONRPC_SERVER_ERROR) ⇒ McpError
constructor
A new instance of McpError.
Constructor Details
#initialize(message, code = JSONRPC_SERVER_ERROR) ⇒ McpError
Returns a new instance of McpError.
68 69 70 71 |
# File 'app/controllers/action_agent/api/mcp_controller.rb', line 68 def initialize(, code = JSONRPC_SERVER_ERROR) super() @code = code end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
66 67 68 |
# File 'app/controllers/action_agent/api/mcp_controller.rb', line 66 def code @code end |