Exception: JenkinsApi::Exceptions::JobAlreadyExistsWithName

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

Overview

This exception class handles cases where a job not able to be created because it already exists.

Instance Method Summary collapse

Constructor Details

#initialize(message = "") ⇒ JobAlreadyExistsWithName

Returns a new instance of JobAlreadyExistsWithName.



49
50
51
# File 'lib/jenkins_api_client/exceptions.rb', line 49

def initialize(message = "")
  super("Job already exists with that name. #{message}")
end