Exception: Dpop::CookieJar::InvalidCookieError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/dpop/cookie_jar.rb

Overview

Error for when cookie is not decipherable

Instance Method Summary collapse

Constructor Details

#initialize(cookie_name, cookie_value) ⇒ InvalidCookieError

Returns a new instance of InvalidCookieError.



8
9
10
# File 'lib/dpop/cookie_jar.rb', line 8

def initialize(cookie_name, cookie_value)
  super("invalid value for #{cookie_name}: #{cookie_value}")
end