Exception: JenkinsApi::Exceptions::Unauthorized
- Inherits:
-
ApiException
- Object
- RuntimeError
- ApiException
- JenkinsApi::Exceptions::Unauthorized
- Defined in:
- lib/jenkins_api_client/exceptions.rb
Overview
This exception class handles cases where invalid credentials are provided to connect to the Jenkins.
Instance Method Summary collapse
-
#initialize(logger, message = "", log_level = Logger::ERROR) ⇒ Unauthorized
constructor
A new instance of Unauthorized.
Constructor Details
#initialize(logger, message = "", log_level = Logger::ERROR) ⇒ Unauthorized
Returns a new instance of Unauthorized.
82 83 84 85 |
# File 'lib/jenkins_api_client/exceptions.rb', line 82 def initialize(logger, = "", log_level = Logger::ERROR) msg = "Invalid credentials are provided. #{}" super(logger, msg, Logger::FATAL) end |