Exception: Campa::Error::Reserved

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

Instance Method Summary collapse

Constructor Details

#initialize(label) ⇒ Reserved

Returns a new instance of Reserved.



4
5
6
7
8
# File 'lib/campa/error/reserved.rb', line 4

def initialize(label)
  msg = "Reserved function name: #{label} "
  msg += "is already taken, sorry about that"
  super msg
end