Class: Grape::Exceptions::NotFound
- Inherits:
-
Base
- Object
- Base
- Grape::Exceptions::NotFound
- Defined in:
- lib/moca_rlibs/grape_errors/not_found.rb
Overview
NotFound (Grape例外拡張)
Instance Method Summary collapse
-
#initialize ⇒ NotFound
constructor
A new instance of NotFound.
Constructor Details
#initialize ⇒ NotFound
Returns a new instance of NotFound.
9 10 11 |
# File 'lib/moca_rlibs/grape_errors/not_found.rb', line 9 def initialize super(message: '404 NotFound', status: 404) end |