Class: Wallaby::ResourceNotFound

Inherits:
NotFound
  • Object
show all
Defined in:
lib/errors/wallaby/resource_not_found.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#messageString

Returns resource not found error message.

Returns:

  • (String)

    resource not found error message



6
7
8
# File 'lib/errors/wallaby/resource_not_found.rb', line 6

def message
  Locale.t 'errors.not_found.resource', resource: super
end