Exception: AmplitudeExperiment::HTTPErrorResponseError

Inherits:
CohortDownloadError show all
Defined in:
lib/experiment/error.rb

Overview

HTTPErrorResponseError

Instance Attribute Summary collapse

Attributes inherited from CohortDownloadError

#cohort_id

Instance Method Summary collapse

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, message)
  super(cohort_id, message)
  @status_code = status_code
end

Instance Attribute Details

#status_codeObject (readonly)

Returns the value of attribute status_code.



27
28
29
# File 'lib/experiment/error.rb', line 27

def status_code
  @status_code
end