Exception: StructuraidCore::Engineering::Locations::DuplicateLabelError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/structuraid_core/errors/engineering/locations/duplicate_label_error.rb

Instance Method Summary collapse

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)
  message = "location with label: #{label} already exists"

  super(message)
end