Exception: StructuraidCore::Engineering::Locations::DuplicateLabelError
- Inherits:
-
StandardError
- Object
- StandardError
- StructuraidCore::Engineering::Locations::DuplicateLabelError
- Defined in:
- lib/structuraid_core/errors/engineering/locations/duplicate_label_error.rb
Instance Method Summary collapse
-
#initialize(label) ⇒ DuplicateLabelError
constructor
A new instance of DuplicateLabelError.
Constructor Details
#initialize(label) ⇒ DuplicateLabelError
Returns a new instance of DuplicateLabelError.
5 6 7 8 9 |
# File 'lib/structuraid_core/errors/engineering/locations/duplicate_label_error.rb', line 5 def initialize(label) = "location with label: #{label} already exists" super() end |