类 Zlib::InProgressError

继承自 Zlib::Error。当 zlib 流正在进行时,会引发此错误。

例如

inflater = Zlib::Inflate.new
inflater.inflate(compressed) do
  inflater.inflate(compressed) # Raises Zlib::InProgressError
end