Exception: Kameleoon::Exception::NotTargeted

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

Overview

Not Targeted (when visitor is not targeted for experiment or feature flag)

Instance Method Summary collapse

Constructor Details

#initialize(visitor_code = '') ⇒ NotTargeted

Returns a new instance of NotTargeted.



56
57
58
# File 'lib/kameleoon/exceptions.rb', line 56

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