Exception: JenkinsApi::Exceptions::InternalServerError
- Inherits:
-
ApiException
- Object
- RuntimeError
- ApiException
- JenkinsApi::Exceptions::InternalServerError
- Defined in:
- lib/jenkins_api_client/exceptions.rb
Overview
This exception class handles cases where the Jenkins API returns with a 500 Internal Server Error.
Instance Method Summary (collapse)
-
- (InternalServerError) initialize(logger, message = "", log_level = Logger::ERROR)
constructor
A new instance of InternalServerError.
Constructor Details
- (InternalServerError) initialize(logger, message = "", log_level = Logger::ERROR)
Returns a new instance of InternalServerError
202 203 204 205 206 207 |
# File 'lib/jenkins_api_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 |