Exception: JenkinsApi::Exceptions::CLIError

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

Overview

Exception occurred while running java CLI commands

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of CLIError.



229
230
231
232
# File 'lib/jenkins_api_client/exceptions.rb', line 229

def initialize(logger, message = "", log_level = Logger::ERROR)
  message = "Unable to execute the command." if message.empty?
  super(logger, message)
end