class Negroni::TokenNotFound

Raised when a token is bad

Public Class Methods

exception(object) click to toggle source

Override for better `raise` calls

@param object [Object] whatever you want

Calls superclass method
# File lib/negroni/token_not_found.rb, line 9
def self.exception(object)
  super "The record #{object} could not be found."
end