Exception: Qiniu::RS::BlockCountNotMathchError
- Defined in:
- lib/qiniu/rs/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.
69 70 71 72 73 74 |
# File 'lib/qiniu/rs/exceptions.rb', line 69 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 |