Exception: HealtcheckProxyClient::HttpError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/healtcheck_proxy_client/http_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, http_error: nil) ⇒ HttpError

Returns a new instance of HttpError.



3
4
5
6
# File 'lib/healtcheck_proxy_client/http_error.rb', line 3

def initialize(msg, http_error: nil)
  @http_error = http_error
  super(msg)
end

Instance Attribute Details

#http_errorObject (readonly)

Returns the value of attribute http_error.



7
8
9
# File 'lib/healtcheck_proxy_client/http_error.rb', line 7

def http_error
  @http_error
end