Exception: Optimizely::InvalidDatafileVersionError

Inherits:
Error
  • Object
show all
Defined in:
lib/optimizely/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(version) ⇒ InvalidDatafileVersionError

Raised when a datafile with an unsupported version is provided



145
146
147
# File 'lib/optimizely/exceptions.rb', line 145

def initialize(version)
  super("This version of the Ruby SDK does not support the given datafile version: #{version}.")
end