Exception: JenkinsApi::Exceptions::CrumbNotFound

Inherits:
NotFound show all
Defined in:
lib/improved_jenkins_client/exceptions.rb

Overview

This exception class handles cases when Crumb Issues did not issue a crumb upon request.

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of CrumbNotFound.



160
161
162
163
# File 'lib/improved_jenkins_client/exceptions.rb', line 160

def initialize(logger, message = "", log_level = Logger::ERROR)
  message = "No crumb available on the server." if message.empty?
  super(logger, message)
end