Exception: HealtcheckProxyClient::HttpError
- Inherits:
-
StandardError
- Object
- StandardError
- HealtcheckProxyClient::HttpError
- Defined in:
- lib/healtcheck_proxy_client/http_error.rb
Instance Attribute Summary collapse
-
#http_error ⇒ Object
readonly
Returns the value of attribute http_error.
Instance Method Summary collapse
-
#initialize(msg, http_error: nil) ⇒ HttpError
constructor
A new instance of HttpError.
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_error ⇒ Object (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 |