Exception: Campa::Error::NotAFunction

Inherits:
Campa::ExecutionError show all
Defined in:
lib/campa/error/not_a_function.rb

Instance Method Summary collapse

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