Exception: MultipleServicesFoundError

Inherits:
IllegalStateError show all
Defined in:
lib/train-habitat/illegal_state_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(origin, name) ⇒ MultipleServicesFoundError

Returns a new instance of MultipleServicesFoundError.



16
17
18
# File 'lib/train-habitat/illegal_state_error.rb', line 16

def initialize(origin, name)
  super("Expected one service '#{origin}/#{name}', but found multiple.")
end