class GrapeTokenAuth::ScopeUndefinedError

Error when an undefined scope was attempted to be used

Public Class Methods

new(msg, scope = nil) click to toggle source
Calls superclass method
# File lib/grape_token_auth/exceptions.rb, line 5
def initialize(msg, scope = nil)
  msg ||= "Trying to use an undefined scope #{scope}. A proper \
           scope to resource class mapping must be set up in the \
           GrapeTokenAuth configuration."
  super(msg)
end