Exception: XClarityClient::Error::HostnameUnknown
- Inherits:
-
StandardError
- Object
- StandardError
- XClarityClient::Error::HostnameUnknown
- Defined in:
- lib/xclarity_client/errors/hostname_unknown.rb
Instance Method Summary collapse
-
#initialize(msg = nil) ⇒ HostnameUnknown
constructor
A new instance of HostnameUnknown.
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 |