Exception: JenkinsApi::Exceptions::InternalServerError
- Inherits:
-
ApiException
- Object
- RuntimeError
- ApiException
- JenkinsApi::Exceptions::InternalServerError
- Defined in:
- lib/improved_jenkins_client/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.
202 203 204 205 206 207 |
# File 'lib/improved_jenkins_client/exceptions.rb', line 202 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 |