...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Error codes returned by the codec.
Defined in header <boost/beast/zlib/error.hpp>
enum error
Name |
Description |
---|---|
|
Additional buffers are required. This error indicates that one or both of the buffers provided buffers do not have sufficient available bytes to make forward progress.This does not always indicate a failure condition.This is the same as Z_BUF_ERROR returned by ZLib. |
|
End of stream reached. This is the same as Z_STREAM_END returned by ZLib. |
|
Invalid stream or parameters. This error is returned when invalid parameters are passed, or the operation being performed is not consistent with the state of the stream. For example, attempting to write data when the end of stream is already reached.This is the same as Z_STREAM_ERROR returned by ZLib. |
|
Invalid block type. |
|
Invalid stored block length. |
|
Too many length or distance symbols. |
|
Invalid code lengths. |
|
Invalid bit length repeat. |
|
Missing end of block code. |
|
Invalid literal/length code. |
|
Invalid distance code. |
|
Invalid distance too far back. |
|
Over-subscribed length code. |
|
Incomplete length set. |
|
general error |
Convenience header <boost/beast/zlib.hpp>