Exception: Sidewalk::NotAuthorizedError

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

Overview

Request that the client provide authentication headers.

This is a 401 response

Instance Method Summary collapse

Methods inherited from HttpError

#description, #status

Constructor Details

#initializeNotAuthorizedError

Returns a new instance of NotAuthorizedError.



47
48
49
# File 'lib/sidewalk/errors.rb', line 47

def initialize
  super 401, 'Not Authorized'
end