Exception: MotherBrain::ServiceRunListNotFound
- Inherits:
-
InternalError
- Object
- StandardError
- MBError
- InternalError
- MotherBrain::ServiceRunListNotFound
- Defined in:
- lib/mb/errors.rb
Overview
TODO plugin error
Constant Summary
Constants inherited from MBError
Instance Method Summary collapse
-
#initialize(services) ⇒ ServiceRunListNotFound
constructor
A new instance of ServiceRunListNotFound.
Methods inherited from MBError
#error_code, error_code, exit_code, #exit_code, #message, #to_hash, #to_json, #to_s
Constructor Details
#initialize(services) ⇒ ServiceRunListNotFound
Returns a new instance of ServiceRunListNotFound.
171 172 173 174 175 176 177 |
# File 'lib/mb/errors.rb', line 171 def initialize(services) if services.respond_to?(:join) services = services.join(", ") end super("Service run list not found for the following services: #{services})") end |