Exception: Saklient::Errors::HttpRequestedRangeNotSatisfiableException

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

Overview

HTTPエラー. Requested Range Not Satisfiable.

Instance Attribute Summary

Attributes inherited from HttpException

#code, #status

Instance Method Summary (collapse)

Constructor Details

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

Returns a new instance of HttpRequestedRangeNotSatisfiableException

Parameters:

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


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

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