Exception: JenkinsApi::Exceptions::NothingSubmitted

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

Overview

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of NothingSubmitted.



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

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