Exception: JenkinsApi::Exceptions::InternalServerError

Inherits:
ApiException
  • Object
show all
Defined in:
lib/jenkins_api_client/exceptions.rb

Overview

This exception class handles cases where the Jenkins API returns with a 500 Internel Server Error.

Instance Method Summary collapse

Constructor Details

#initialize(logger, message = "", log_level = Logger::ERROR) ⇒ InternalServerError

Returns a new instance of InternalServerError.



202
203
204
205
206
207
# File 'lib/jenkins_api_client/exceptions.rb', line 202

def initialize(logger, message = "", log_level = Logger::ERROR)
  msg = "Internel Server Error. Perhaps the in-memory configuration of" +
        " Jenkins is different from the disk configuration." +
        " Please try to reload the configuration #{message}"
  super(logger, msg)
end