class Wallaby::ModelNotFound

Model not found error

Public Instance Methods

message() click to toggle source

@return [String] not found error message

Calls superclass method
# File lib/errors/wallaby/model_not_found.rb, line 7
def message
  return super if super.include? "\n"

  Locale.t 'errors.not_found.model', model: super
end