Exception: Zstdlib::InProgressError

Inherits:
Error
  • Object
show all
Defined in:
ext/zstdlib_c/ruby/zlib-3.3/zstdlib.c,
ext/zstdlib_c/ruby/zlib-3.3/zstdlib.c,
ext/zstdlib_c/ruby/zlib-3.2/zstdlib.c,
ext/zstdlib_c/ruby/zlib-3.2/zstdlib.c,
ext/zstdlib_c/ruby/zlib-3.1/zstdlib.c,
ext/zstdlib_c/ruby/zlib-3.1/zstdlib.c

Overview

Subclass of Zstdlib::Error. This error is raised when the zlib stream is currently in progress.

For example:

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