Exception: Zip::Bzip2::DataError
- Defined in:
- lib/zip/bzip2/errors.rb
Overview
Raised if a data integrity error is detected (a mismatch between stored and computed CRCs or another anomaly in the compressed data).
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ DataError
constructor
Initializes a new instance of DataError.
Constructor Details
#initialize(message = nil) ⇒ DataError
Initializes a new instance of DataError.
26 27 28 29 30 31 32 |
# File 'lib/zip/bzip2/errors.rb', line 26 def initialize( = nil) # :nodoc: super( || 'Data integrity error detected (mismatch between stored and computed CRCs, ' \ 'or other anomaly in the compressed data)', ) end |