class Negroni::OmniAuth::UnknownStrategy
Raised if a strategy is unknown or not found.
Public Class Methods
new(strategy)
click to toggle source
Raise a new error for `strategy`.
Calls superclass method
# File lib/negroni/omniauth/config.rb, line 8 def initialize(strategy) @strategy = strategy super("Could not find a strategy named `#{strategy}`. " \ "Please ensure it is `require`d or explicitly set using " \ "the :strategy_class option.") end