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



87
88
89
# File 'lib/optimizely/exceptions.rb', line 87

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