Exception: Farscape::Exceptions::ImaTeapot

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



125
126
127
128
# File 'lib/farscape/errors.rb', line 125

def error_description
  'The server is a teapot; the resulting entity body may be short and stout.
  Demonstrations of this behaviour exist.'.squish
end