Exception: Errors::ResourceNotFound

Inherits:
StandardError
  • Object
show all
Defined in:
lib/address-service/errors/resource_not_found.rb

Instance Method Summary collapse

Constructor Details

#initializeResourceNotFound

Returns a new instance of ResourceNotFound.



6
7
# File 'lib/address-service/errors/resource_not_found.rb', line 6

def initialize
end

Instance Method Details

#to_sObject



9
10
11
# File 'lib/address-service/errors/resource_not_found.rb', line 9

def to_s
  "The resource you are looking for could not be found."
end