Exception: Appom::UnsupportedBlockError
- Inherits:
-
AppomError
- Object
- StandardError
- AppomError
- Appom::UnsupportedBlockError
- Defined in:
- lib/appom/exceptions.rb
Overview
Block/syntax errors
Instance Attribute Summary
Attributes inherited from AppomError
Instance Method Summary collapse
-
#initialize(method_name, type) ⇒ UnsupportedBlockError
constructor
A new instance of UnsupportedBlockError.
Methods inherited from AppomError
Constructor Details
#initialize(method_name, type) ⇒ UnsupportedBlockError
Returns a new instance of UnsupportedBlockError.
104 105 106 107 |
# File 'lib/appom/exceptions.rb', line 104 def initialize(method_name, type) super("#{type}##{method_name} does not accept blocks", { method: method_name, type: type }) end |