Exception: AmplitudeExperiment::CohortDownloadError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/experiment/error.rb

Direct Known Subclasses

CohortTooLargeError, HTTPErrorResponseError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cohort_id, message) ⇒ CohortDownloadError



15
16
17
18
# File 'lib/experiment/error.rb', line 15

def initialize(cohort_id, message)
  super(message)
  @cohort_id = cohort_id
end

Instance Attribute Details

#cohort_idObject (readonly)

Returns the value of attribute cohort_id.



13
14
15
# File 'lib/experiment/error.rb', line 13

def cohort_id
  @cohort_id
end