Exception: Shamu::NotFoundError
- Defined in:
- lib/shamu/error.rb
Overview
The resource was not found.
Instance Method Summary collapse
-
#initialize(message = :not_found) ⇒ NotFoundError
constructor
A new instance of NotFoundError.
Constructor Details
#initialize(message = :not_found) ⇒ NotFoundError
Returns a new instance of NotFoundError.
20 21 22 |
# File 'lib/shamu/error.rb', line 20 def initialize( = :not_found ) super translate( ) end |