Exception: Negroni::TokenNotFound
- Inherits:
-
StandardError
- Object
- StandardError
- Negroni::TokenNotFound
- Defined in:
- lib/negroni/token_not_found.rb
Overview
Raised when a token is bad
Class Method Summary collapse
-
.exception(object) ⇒ Object
Override for better ‘raise` calls.
Class Method Details
.exception(object) ⇒ Object
Override for better ‘raise` calls
9 10 11 |
# File 'lib/negroni/token_not_found.rb', line 9 def self.exception(object) super "The record #{object} could not be found." end |