class Zip::StreamingError
Error raised if there is not enough metadata for the entry to be streamed.
Attributes
The entry that has caused this error.
Public Class Methods
Source
# File lib/zip/errors.rb, line 127 def initialize(entry) super() @entry = entry end
Create a new StreamingError with the specified entry.
Calls superclass method
Public Instance Methods
Source
# File lib/zip/errors.rb, line 133 def message "The local header of this entry ('#{@entry.name}') does not contain " \ 'the correct metadata for `Zip::InputStream` to be able to ' \ 'uncompress it. Please use `Zip::File` instead of `Zip::InputStream`.' end
The message returned by this error.