Exception: Saklient::Errors::HttpUnsupportedMediaTypeException
- Inherits:
-
HttpException
- Object
- StandardError
- HttpException
- Saklient::Errors::HttpUnsupportedMediaTypeException
- Defined in:
- lib/saklient/errors/http_unsupported_media_type_exception.rb
Overview
HTTPエラー. Unsupported Media Type.
Instance Attribute Summary
Attributes inherited from HttpException
Instance Method Summary collapse
-
#initialize(status, code = nil, message = '') ⇒ HttpUnsupportedMediaTypeException
constructor
A new instance of HttpUnsupportedMediaTypeException.
Constructor Details
#initialize(status, code = nil, message = '') ⇒ HttpUnsupportedMediaTypeException
Returns a new instance of HttpUnsupportedMediaTypeException.
16 17 18 |
# File 'lib/saklient/errors/http_unsupported_media_type_exception.rb', line 16 def initialize(status, code = nil, = '') super(status, code, ().nil? || == '' ? 'HTTPエラー。Unsupported Media Type.' : ) end |