Exception: XClarityClient::Error::AuthenticationError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/xclarity_client/errors/authentication_error.rb

Instance Method Summary collapse

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