Exception: AmplitudeExperiment::HTTPErrorResponseError
- Inherits:
-
CohortDownloadError
- Object
- StandardError
- CohortDownloadError
- AmplitudeExperiment::HTTPErrorResponseError
- Defined in:
- lib/experiment/error.rb
Overview
HTTPErrorResponseError
Instance Attribute Summary collapse
-
#status_code ⇒ Object
readonly
Returns the value of attribute status_code.
Attributes inherited from CohortDownloadError
Instance Method Summary collapse
-
#initialize(status_code, cohort_id, message) ⇒ HTTPErrorResponseError
constructor
A new instance of HTTPErrorResponseError.
Constructor Details
#initialize(status_code, cohort_id, message) ⇒ HTTPErrorResponseError
29 30 31 32 |
# File 'lib/experiment/error.rb', line 29 def initialize(status_code, cohort_id, ) super(cohort_id, ) @status_code = status_code end |
Instance Attribute Details
#status_code ⇒ Object (readonly)
Returns the value of attribute status_code.
27 28 29 |
# File 'lib/experiment/error.rb', line 27 def status_code @status_code end |