Exception: OMF::SFA::AM::Rest::UnsupportedBodyFormatException

Inherits:
RackException
  • Object
show all
Defined in:
lib/omf-sfa/am/am-rest/rest_handler.rb

Instance Attribute Summary

Attributes inherited from RackException

#reply

Instance Method Summary collapse

Constructor Details

#initialize(format = 'unknown') ⇒ UnsupportedBodyFormatException

Returns a new instance of UnsupportedBodyFormatException.



43
44
45
# File 'lib/omf-sfa/am/am-rest/rest_handler.rb', line 43

def initialize(format = 'unknown')
  super 400, "Message body format '#{format}' is unsupported"
end