Exception: Qiniu::BlockCountNotMathchError
- Defined in:
- lib/qiniu/exceptions.rb
Instance Method Summary collapse
-
#initialize(fpath, block_count, checksum_count, progress_count) ⇒ BlockCountNotMathchError
constructor
A new instance of BlockCountNotMathchError.
Constructor Details
#initialize(fpath, block_count, checksum_count, progress_count) ⇒ BlockCountNotMathchError
Returns a new instance of BlockCountNotMathchError.
68 69 70 71 72 73 |
# File 'lib/qiniu/exceptions.rb', line 68 def initialize(fpath, block_count, checksum_count, progress_count) msg = "Reading file: #{fpath}, " msg += "Expected block_count, checksum_count, progress_count is: #{block_count}, " msg += "but got checksum_count: #{checksum_count}, progress_count: #{progress_count}." super(msg) end |