Exception: Farscape::Exceptions::NotFound

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



42
43
44
45
46
# File 'lib/farscape/errors.rb', line 42

def error_description
  'The server has not found anything matching the Request-URI.
  No indication is given of whether the condition is temporary or permanent.
  This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.'.squish
end