Exception: Kameleoon::Exception::VisitorCodeInvalid

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

Overview

Visitor Code Not Valid (empty or length > 255)

Instance Method Summary collapse

Constructor Details

#initialize(visitor_code) ⇒ VisitorCodeInvalid

Returns a new instance of VisitorCodeInvalid.



72
73
74
# File 'lib/kameleoon/exceptions.rb', line 72

def initialize(visitor_code)
  super("Visitor code '#{visitor_code}' is not valid")
end