1. Zlib::
  2. Error

class Zlib::Error

The superclass for all exceptions raised by Ruby/zlib.

The following exceptions are defined as subclasses ofZlib::Error. These exceptions are raised when zlib library functions return with an error status.