Exception: Campa::Error::Reserved
- Inherits:
-
Campa::ExecutionError
- Object
- StandardError
- Campa::ExecutionError
- Campa::Error::Reserved
- Defined in:
- lib/campa/error/reserved.rb
Instance Method Summary collapse
-
#initialize(label) ⇒ Reserved
constructor
A new instance of Reserved.
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 |