Exception: Saklient::Errors::HttpNotExtendedException

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

Overview

HTTPエラー. Not Extended.

Instance Attribute Summary

Attributes inherited from HttpException

#code, #status

Instance Method Summary (collapse)

Constructor Details

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

Returns a new instance of HttpNotExtendedException

Parameters:

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


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

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