Exception: Sidewalk::NotFoundError

Inherits:
HttpError
  • Object
show all
Defined in:
lib/sidewalk/errors.rb

Overview

Tells the client that the resource they requested does not exist.

This is a 404 response.

Instance Method Summary (collapse)

Methods inherited from HttpError

#description, #status

Constructor Details

- (NotFoundError) initialize

Returns a new instance of NotFoundError



67
68
69
# File 'lib/sidewalk/errors.rb', line 67

def initialize
  super 404, 'Not Found'
end