Exception: Sidewalk::ForbiddenError

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

Overview

Forbid the client from accessing a resource.

Providing authentication headers will not help.

This is a 403 response.

Instance Method Summary collapse

Methods inherited from HttpError

#description, #status

Constructor Details

#initializeForbiddenError

Returns a new instance of ForbiddenError.



58
59
60
# File 'lib/sidewalk/errors.rb', line 58

def initialize
  super 403, 'Forbidden'
end