Exception: Tengine::Errors::NotFound
- Inherits:
-
StandardError
- Object
- StandardError
- Tengine::Errors::NotFound
- Defined in:
- lib/tengine/errors.rb
Overview
Tengineが提供するAPIによってデータが見つからないことを示す例外です。 railsの場合、ActionDispatch::ShowExceptions.rescue_responses を使って 以下のように設定して使用することを想定しています。
ActionDispatch::ShowExceptions.rescue_responses.update(
"Tengine::Errors::NotFound" => :not_found,
)