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