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