Exception: Zip::Bzip2::MagicDataError

Inherits:
DataError show all
Defined in:
lib/zip/bzip2/errors.rb

Overview

Raised if the compressed data does not start with the correct magic bytes (‘BZh’).

Instance Method Summary collapse

Constructor Details

#initializeMagicDataError

Initializes a new instance of MagicDataError.



41
42
43
# File 'lib/zip/bzip2/errors.rb', line 41

def initialize # :nodoc:
  super('Compressed data does not start with the correct magic bytes (\'BZh\')')
end