Exception: Distelli::InvalidContentType

Inherits:
ClientError show all
Defined in:
lib/distelli/serviceinterface.rb

Instance Attribute Summary

Attributes inherited from BaseException

#err_code, #err_msg, #http_code

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ InvalidContentType

Returns a new instance of InvalidContentType.



33
34
35
# File 'lib/distelli/serviceinterface.rb', line 33

def initialize(msg=nil)
  super(msg, "InvalidContentType", nil, 400)
end