Exception: Wallaby::ModelNotFound

Inherits:
NotFound show all
Defined in:
lib/errors/wallaby/model_not_found.rb

Overview

Model not found error

Instance Method Summary collapse

Instance Method Details

#messageString

Returns not found error message.

Returns:

  • (String)

    not found error message



5
6
7
# File 'lib/errors/wallaby/model_not_found.rb', line 5

def message
  I18n.t 'errors.not_found.model', model: super
end