Exception: Kameleoon::Exception::NotAllocated

Inherits:
KameleoonError
  • Object
show all
Defined in:
lib/kameleoon/exceptions.rb

Overview

Not Allocated (when visitor is not allocated for experiment)

Instance Method Summary collapse

Constructor Details

#initialize(visitor_code = '') ⇒ NotAllocated

Returns a new instance of NotAllocated.



63
64
65
# File 'lib/kameleoon/exceptions.rb', line 63

def initialize(visitor_code = '')
  super("Visitor #{visitor_code} is not targeted.")
end