Exception: XClarityClient::Error::HostnameUnknown

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

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ HostnameUnknown

Returns a new instance of HostnameUnknown.



4
5
6
7
# File 'lib/xclarity_client/errors/hostname_unknown.rb', line 4

def initialize(msg = nil)
  msg = msg.nil? ? 'Connection failed, hostname unknown.' : msg
  super(msg)
end