Exception: XClarityClient::Error::ConnectionRefused

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

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ ConnectionRefused

Returns a new instance of ConnectionRefused.



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

def initialize(msg = nil)
  msg = msg.nil? ? 'Connection refused, invalid host.' : msg
  super(msg)
end