Exception: Lhj::JenkinsApi::Exceptions::InternalServerError
- Inherits:
-
ApiException
- Object
- RuntimeError
- ApiException
- Lhj::JenkinsApi::Exceptions::InternalServerError
- Defined in:
- lib/lhj/jenkins/exceptions.rb
Overview
This exception class handles cases where the Jenkins API returns with a 500 Internal Server Error.
Instance Method Summary collapse
-
#initialize(logger, message = "", log_level = Logger::ERROR) ⇒ InternalServerError
constructor
A new instance of InternalServerError.
Constructor Details
#initialize(logger, message = "", log_level = Logger::ERROR) ⇒ InternalServerError
Returns a new instance of InternalServerError.
181 182 183 184 185 186 |
# File 'lib/lhj/jenkins/exceptions.rb', line 181 def initialize(logger, = "", log_level = Logger::ERROR) = "Internal Server Error. Perhaps the in-memory configuration" + " Jenkins is different from the disk configuration. Please try to" + " reload the configuration" if .nil? || .empty? super(logger, ) end |