Exception: JenkinsApi::Exceptions::ViewNotFound
- Inherits:
-
NotFound
- Object
- RuntimeError
- ApiException
- NotFound
- JenkinsApi::Exceptions::ViewNotFound
- Defined in:
- lib/jenkins_api_client/exceptions.rb
Overview
This exception class handles cases where the requested view does not exist in Jenkins.
Instance Method Summary (collapse)
-
- (ViewNotFound) initialize(logger, message = "", log_level = Logger::ERROR)
constructor
A new instance of ViewNotFound.
Constructor Details
- (ViewNotFound) initialize(logger, message = "", log_level = Logger::ERROR)
Returns a new instance of ViewNotFound
182 183 184 185 |
# File 'lib/jenkins_api_client/exceptions.rb', line 182 def initialize(logger, = "", log_level = Logger::ERROR) msg = .empty? ? "The specified view is not found" : super(logger, msg) end |