Exception: JenkinsApi::Exceptions::NodeNotFound
- Inherits:
-
NotFound
- Object
- RuntimeError
- ApiException
- NotFound
- JenkinsApi::Exceptions::NodeNotFound
- Defined in:
- lib/improved_jenkins_client/exceptions.rb
Overview
This exception class handles cases where the requested node does not exist in Jenkins.
Instance Method Summary collapse
-
#initialize(logger, message = "", log_level = Logger::ERROR) ⇒ NodeNotFound
constructor
A new instance of NodeNotFound.
Constructor Details
#initialize(logger, message = "", log_level = Logger::ERROR) ⇒ NodeNotFound
Returns a new instance of NodeNotFound.
192 193 194 195 |
# File 'lib/improved_jenkins_client/exceptions.rb', line 192 def initialize(logger, = "", log_level = Logger::ERROR) msg = msg.empty? ? "The specified node is not found" : super(logger, msg) end |