Exception: Dpop::Controller::MissingDpopCookie

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

Overview

Error for DPoP cookie not being found

Instance Method Summary collapse

Constructor Details

#initialize(cookie_name) ⇒ MissingDpopCookie

Returns a new instance of MissingDpopCookie.



10
11
12
# File 'lib/dpop/controller.rb', line 10

def initialize(cookie_name)
  super("No DPoP cookie found with name `#{cookie_name}`. Try running `ensure_dpop!` before using this concern.")
end