Exception: Campa::Error::NotAFunction
- Inherits:
-
Campa::ExecutionError
- Object
- StandardError
- Campa::ExecutionError
- Campa::Error::NotAFunction
- Defined in:
- lib/campa/error/not_a_function.rb
Instance Method Summary collapse
-
#initialize(label) ⇒ NotAFunction
constructor
A new instance of NotAFunction.
Constructor Details
#initialize(label) ⇒ NotAFunction
Returns a new instance of NotAFunction.
4 5 6 |
# File 'lib/campa/error/not_a_function.rb', line 4 def initialize(label) super "The symbol: #{label} does not resolve to a function" end |