Exception: JenkinsApi::Exceptions::NothingSubmitted

Inherits:
ApiException
  • Object
show all
Defined in:
lib/jenkins_api_client/exceptions.rb

Overview

This exception class handles cases where parameters are expected but not provided.

Instance Method Summary (collapse)

Constructor Details

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

Returns a new instance of NothingSubmitted



43
44
45
46
# File 'lib/jenkins_api_client/exceptions.rb', line 43

def initialize(logger, message = "", log_level = Logger::ERROR)
  message = "Nothing is submitted." if message.empty?
  super(logger, message)
end