Thanks to visit codestin.com Credit goes to docs.ruby-lang.org
Subclass of Zlib::Error
Zlib::Error
When zlib returns a Z_STREAM_ERROR, usually if the stream state was inconsistent.