Exception: Rhino::InvalidScopeArgumentsError
- Inherits:
-
StandardError
- Object
- StandardError
- Rhino::InvalidScopeArgumentsError
- Defined in:
- lib/rhino/invalid_scope_arguments_error.rb
Overview
Raised when a client-requested named scope is given arguments that do not match the model's declared parameter spec. Rendered as 403 by ResourcesController, message and all: it is only ever raised after the scope name itself passed the whitelist and the policy, so naming the parameters reveals nothing about scopes the user may not use.