Exception: NoServicesFoundError

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

Instance Method Summary collapse

Constructor Details

#initialize(origin, name) ⇒ NoServicesFoundError

Returns a new instance of NoServicesFoundError.



10
11
12
# File 'lib/train-habitat/illegal_state_error.rb', line 10

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