Exception: Farscape::Exceptions::Unauthorized

Inherits:
ProtocolException show all
Defined in:
lib/farscape/errors.rb

Instance Attribute Summary

Attributes inherited from ProtocolException

#representor

Instance Method Summary collapse

Methods inherited from ProtocolException

#initialize, #message

Constructor Details

This class inherits a constructor from Farscape::Exceptions::ProtocolException

Instance Method Details

#error_descriptionObject



28
29
30
31
32
33
# File 'lib/farscape/errors.rb', line 28

def error_description
  'The request requires user authentication.
  The client MAY repeat the request with suitable Authorization.
  If the request already included Authorization credentials,
  then the response indicates that authorization has been refused for those credentials.'.squish
end