Exception: MotherBrain::ServiceRunListNotFound

Inherits:
InternalError show all
Defined in:
lib/mb/errors.rb

Overview

TODO plugin error

Constant Summary

Constants inherited from MBError

MBError::DEFAULT_EXIT_CODE

Instance Method Summary collapse

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