Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
class · Ruby 4.1
Zlib::InProgressError
Subclass of Zlib::Error. This error is raised when the zlib stream is currently in progress.
For example:
Example
inflater = Zlib::Inflate.new inflater.inflate(compressed) do inflater.inflate(compressed) # Raises Zlib::InProgressError end