Exception: Parse::Agent::MethodFiltered
- Inherits:
-
AgentError
- Object
- StandardError
- AgentError
- Parse::Agent::MethodFiltered
- Defined in:
- lib/parse/agent/errors.rb
Overview
Raised inside the +call_method+ tool when the resolved +ClassName.method_name+ is excluded by the agent instance's +methods:+ filter. The execute() rescue maps this to a +:tool_filtered+ error_code so consumers can distinguish "the filter excluded this method" from "this method isn't declared agent-callable" (a Parse::Error) or "the tier doesn't allow it" (a +:permission_denied+).