3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>zlib::error</title>
5 <link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
6 <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7 <link rel="home" href="../../index.html" title="Chapter 1. Boost.Beast">
8 <link rel="up" href="../ref.html" title="This Page Intentionally Left Blank 2/2">
9 <link rel="prev" href="boost__beast__zlib__deflate_upper_bound.html" title="zlib::deflate_upper_bound">
10 <link rel="next" href="boost__beast__zlib__inflate_stream.html" title="zlib::inflate_stream">
12 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13 <table cellpadding="2" width="100%"><tr>
14 <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
15 <td align="center"><a href="../../../../../../index.html">Home</a></td>
16 <td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
17 <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18 <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19 <td align="center"><a href="../../../../../../more/index.htm">More</a></td>
22 <div class="spirit-nav">
23 <a accesskey="p" href="boost__beast__zlib__deflate_upper_bound.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="boost__beast__zlib__inflate_stream.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
26 <div class="titlepage"><div><div><h4 class="title">
27 <a name="beast.ref.boost__beast__zlib__error"></a><a class="link" href="boost__beast__zlib__error.html" title="zlib::error">zlib::error</a>
28 </h4></div></div></div>
30 <a class="indexterm" name="idm45873468387248"></a>
31 Error codes returned by the deflate codecs.
34 <a name="beast.ref.boost__beast__zlib__error.h0"></a>
35 <span class="phrase"><a name="beast.ref.boost__beast__zlib__error.synopsis"></a></span><a class="link" href="boost__beast__zlib__error.html#beast.ref.boost__beast__zlib__error.synopsis">Synopsis</a>
38 Defined in header <code class="literal"><<a href="../../../../../../boost/beast/zlib/error.hpp" target="_top">boost/beast/zlib/error.hpp</a>></code>
40 <pre class="programlisting"><span class="keyword">enum</span> <span class="identifier">error</span>
43 <a class="indexterm" name="idm45873468379344"></a>
44 <a class="indexterm" name="idm45873468378240"></a>
45 <a class="indexterm" name="idm45873468377136"></a>
46 <a class="indexterm" name="idm45873468376032"></a>
47 <a class="indexterm" name="idm45873468374928"></a>
48 <a class="indexterm" name="idm45873468373824"></a>
49 <a class="indexterm" name="idm45873468372720"></a>
50 <a class="indexterm" name="idm45873468371616"></a>
51 <a class="indexterm" name="idm45873468370512"></a>
52 <a class="indexterm" name="idm45873468369408"></a>
53 <a class="indexterm" name="idm45873468368288"></a>
54 <a class="indexterm" name="idm45873468367184"></a>
55 <a class="indexterm" name="idm45873468366080"></a>
56 <a class="indexterm" name="idm45873468364976"></a>
57 <a class="indexterm" name="idm45873468363872"></a>
58 <a class="indexterm" name="idm45873468362768"></a>
59 <a class="indexterm" name="idm45873468361664"></a>
63 <a name="beast.ref.boost__beast__zlib__error.h1"></a>
64 <span class="phrase"><a name="beast.ref.boost__beast__zlib__error.values"></a></span><a class="link" href="boost__beast__zlib__error.html#beast.ref.boost__beast__zlib__error.values">Values</a>
66 <div class="informaltable"><table class="table">
87 <code class="literal">need_buffers</code>
92 Additional buffers are required.
95 This error indicates that one or both of the buffers provided buffers
96 do not have sufficient available bytes to make forward progress.
99 This does not always indicate a failure condition.
102 @note This is the same as <code class="computeroutput"><span class="identifier">Z_BUF_ERROR</span></code>
110 <code class="literal">end_of_stream</code>
115 End of stream reached.
118 @note This is the same as <code class="computeroutput"><span class="identifier">Z_STREAM_END</span></code>
126 <code class="literal">need_dict</code>
131 Preset dictionary required.
134 This error indicates that a preset dictionary was not provided
135 and is now needed at this point.
138 This does not always indicate a failure condition.
141 @note This is the same as <code class="computeroutput"><span class="identifier">Z_NEED_DICT</span></code>
149 <code class="literal">stream_error</code>
154 Invalid stream or parameters.
157 This error is returned when invalid parameters are passed, or the
158 operation being performed is not consistent with the state of the
159 stream. For example, attempting to write data when the end of stream
163 @note This is the same as <code class="computeroutput"><span class="identifier">Z_STREAM_ERROR</span></code>
171 <code class="literal">invalid_block_type</code>
183 <code class="literal">invalid_stored_length</code>
188 Invalid stored block length.
195 <code class="literal">too_many_symbols</code>
200 Too many length or distance symbols.
207 <code class="literal">invalid_code_lengths</code>
212 Invalid code lengths.
219 <code class="literal">invalid_code_lenths</code>
228 <code class="literal">invalid_bit_length_repeat</code>
233 Invalid bit length repeat.
240 <code class="literal">missing_eob</code>
245 Missing end of block code.
252 <code class="literal">invalid_literal_length</code>
257 Invalid literal/length code.
264 <code class="literal">invalid_distance_code</code>
269 Invalid distance code.
276 <code class="literal">invalid_distance</code>
281 Invalid distance too far back.
288 <code class="literal">over_subscribed_length</code>
293 Over-subscribed length code.
300 <code class="literal">incomplete_length_set</code>
305 Incomplete length set.
312 <code class="literal">general</code>
324 <a name="beast.ref.boost__beast__zlib__error.h2"></a>
325 <span class="phrase"><a name="beast.ref.boost__beast__zlib__error.description"></a></span><a class="link" href="boost__beast__zlib__error.html#beast.ref.boost__beast__zlib__error.description">Description</a>
328 Convenience header <code class="literal"><<a href="../../../../../../boost/beast/zlib.hpp" target="_top">boost/beast/zlib.hpp</a>></code>
331 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
332 <td align="left"></td>
333 <td align="right"><div class="copyright-footer">Copyright © 2016-2019 Vinnie
335 Distributed under the Boost Software License, Version 1.0. (See accompanying
336 file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
341 <div class="spirit-nav">
342 <a accesskey="p" href="boost__beast__zlib__deflate_upper_bound.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="boost__beast__zlib__inflate_stream.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>