Exception: Saklient::Errors::HttpHttpVersionNotSupportedException

Inherits:
HttpException
  • Object
show all
Defined in:
lib/saklient/errors/http_http_version_not_supported_exception.rb

Overview

HTTPエラー. Http Version Not Supported.

Instance Attribute Summary

Attributes inherited from HttpException

#code, #status

Instance Method Summary (collapse)

Constructor Details

- (HttpHttpVersionNotSupportedException) initialize(status, code = nil, message = '')

Returns a new instance of HttpHttpVersionNotSupportedException

Parameters:

  • status (Fixnum)
  • code (String) (defaults to: nil)
  • message (String) (defaults to: '')


16
17
18
# File 'lib/saklient/errors/http_http_version_not_supported_exception.rb', line 16

def initialize(status, code = nil, message = '')
  super(status, code, (message).nil? || message == '' ? 'HTTPエラー。Http Version Not Supported.' : message)
end