class Zlib::InProgressError

Zlib::Error 的子类。当 zlib 流正在进行时,会引发此错误。

例如

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