class Zip::DecompressionError
Error raised if there is a problem while decompressing an archive entry.
Attributes
The error from the underlying Zlib library that caused this error.
Public Class Methods
Source
# File lib/zip/errors.rb, line 33 def initialize(zlib_error) super() @zlib_error = zlib_error end
Create a new DecompressionError with the specified underlying Zlib error.
Calls superclass method
Public Instance Methods
Source
# File lib/zip/errors.rb, line 39 def message "Zlib error ('#{@zlib_error.message}') while inflating." end
The message returned by this error.