Exception: Distelli::InvalidContentType
- Inherits:
-
ClientError
- Object
- StandardError
- BaseException
- ClientError
- Distelli::InvalidContentType
- Defined in:
- lib/distelli/serviceinterface.rb
Instance Attribute Summary
Attributes inherited from BaseException
#err_code, #err_msg, #http_code
Instance Method Summary collapse
-
#initialize(msg = nil) ⇒ InvalidContentType
constructor
A new instance of InvalidContentType.
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 |