Exception: XClarityClient::Error::AuthenticationError
- Inherits:
-
StandardError
- Object
- StandardError
- XClarityClient::Error::AuthenticationError
- Defined in:
- lib/xclarity_client/errors/authentication_error.rb
Instance Method Summary collapse
-
#initialize(msg = nil) ⇒ AuthenticationError
constructor
A new instance of AuthenticationError.
Constructor Details
#initialize(msg = nil) ⇒ AuthenticationError
Returns a new instance of AuthenticationError.
4 5 6 7 |
# File 'lib/xclarity_client/errors/authentication_error.rb', line 4 def initialize(msg = nil) msg = msg.nil? ? 'Invalid credentials for this host.' : msg super(msg) end |