Exception: LaunchDarkly::Impl::DataSource::UnexpectedResponseError Private
- Inherits:
-
StandardError
- Object
- StandardError
- LaunchDarkly::Impl::DataSource::UnexpectedResponseError
- Defined in:
- lib/ldclient-rb/impl/data_source/requestor.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
-
#initialize(status) ⇒ UnexpectedResponseError
constructor
private
A new instance of UnexpectedResponseError.
- #status ⇒ Object private
Constructor Details
#initialize(status) ⇒ UnexpectedResponseError
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of UnexpectedResponseError.
13 14 15 16 |
# File 'lib/ldclient-rb/impl/data_source/requestor.rb', line 13 def initialize(status) @status = status super("HTTP error #{status}") end |
Instance Method Details
#status ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
18 19 20 |
# File 'lib/ldclient-rb/impl/data_source/requestor.rb', line 18 def status @status end |