Exception: NoServicesFoundError
- Inherits:
-
IllegalStateError
- Object
- StandardError
- IllegalStateError
- NoServicesFoundError
- Defined in:
- lib/train-habitat/illegal_state_error.rb
Instance Method Summary collapse
-
#initialize(origin, name) ⇒ NoServicesFoundError
constructor
A new instance of NoServicesFoundError.
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 |