Exception: JenkinsApi::Exceptions::CrumbNotFound
- Inherits:
-
NotFound
- Object
- RuntimeError
- ApiException
- NotFound
- JenkinsApi::Exceptions::CrumbNotFound
- Defined in:
- lib/jenkins_api_client/exceptions.rb
Overview
This exception class handles cases when Crumb Issues did not issue a crumb upon request.
Instance Method Summary (collapse)
-
- (CrumbNotFound) initialize(logger, message = "", log_level = Logger::ERROR)
constructor
A new instance of CrumbNotFound.
Constructor Details
- (CrumbNotFound) initialize(logger, message = "", log_level = Logger::ERROR)
Returns a new instance of CrumbNotFound
160 161 162 163 |
# File 'lib/jenkins_api_client/exceptions.rb', line 160 def initialize(logger, = "", log_level = Logger::ERROR) = "No crumb available on the server." if .empty? super(logger, ) end |