Exception: JenkinsApi::Exceptions::NodeNotFound

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

Overview

This exception class handles cases where the requested node does not exist in Jenkins.

Instance Method Summary (collapse)

Constructor Details

- (NodeNotFound) initialize(logger, message = "", log_level = Logger::ERROR)

Returns a new instance of NodeNotFound



192
193
194
195
# File 'lib/jenkins_api_client/exceptions.rb', line 192

def initialize(logger, message = "", log_level = Logger::ERROR)
  msg = msg.empty? ? "The specified node is not found" : message
  super(logger, msg)
end