Exception: JenkinsApi::Exceptions::JobAlreadyExistsWithName
- Inherits:
-
ApiException
- Object
- RuntimeError
- ApiException
- JenkinsApi::Exceptions::JobAlreadyExistsWithName
- 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
-
#initialize(message = "") ⇒ JobAlreadyExistsWithName
constructor
A new instance of JobAlreadyExistsWithName.
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( = "") super("Job already exists with that name. #{}") end |