Exception: Yoker::ServiceStartupError
- Defined in:
- lib/yoker/errors.rb
Overview
Raised when service fails to start (Docker containers, etc.)
Instance Method Summary collapse
-
#initialize(service_name, timeout = nil) ⇒ ServiceStartupError
constructor
A new instance of ServiceStartupError.
Constructor Details
#initialize(service_name, timeout = nil) ⇒ ServiceStartupError
Returns a new instance of ServiceStartupError.
104 105 106 107 108 |
# File 'lib/yoker/errors.rb', line 104 def initialize(service_name, timeout = nil) = "Service '#{service_name}' failed to start" += " within #{timeout} seconds" if timeout super() end |