Exception: LaunchDarkly::UnexpectedResponseError
- Inherits:
-
StandardError
- Object
- StandardError
- LaunchDarkly::UnexpectedResponseError
- Defined in:
- lib/ldclient-rb/requestor.rb
Instance Method Summary collapse
-
#initialize(status) ⇒ UnexpectedResponseError
constructor
A new instance of UnexpectedResponseError.
- #status ⇒ Object
Constructor Details
#initialize(status) ⇒ UnexpectedResponseError
Returns a new instance of UnexpectedResponseError.
11 12 13 14 |
# File 'lib/ldclient-rb/requestor.rb', line 11 def initialize(status) @status = status super("HTTP error #{status}") end |
Instance Method Details
#status ⇒ Object
16 17 18 |
# File 'lib/ldclient-rb/requestor.rb', line 16 def status @status end |