Exception: MotherBrain::ApplicationPaused

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

Constant Summary

Constants inherited from APIError

MotherBrain::APIError::DEFAULT_HTTP_STATUS_CODE

Constants inherited from MBError

MBError::DEFAULT_EXIT_CODE

Instance Method Summary collapse

Methods inherited from APIError

http_status_code, #http_status_code

Methods inherited from MBError

#error_code, error_code, exit_code, #exit_code, #initialize, #to_hash, #to_json, #to_s

Constructor Details

This class inherits a constructor from MotherBrain::MBError

Instance Method Details

#messageObject



720
721
722
# File 'lib/mb/errors.rb', line 720

def message
  "MotherBrain is paused. It will not accept new requests until it is resumed."
end