ゴミ箱
error.hpp
Go to the documentation of this file.
1 //
2 // Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
3 //
4 // Distributed under the Boost Software License, Version 1.0. (See accompanying
5 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 //
7 // Official repository: https://github.com/boostorg/beast
8 //
9 
10 #ifndef BOOST_BEAST_ZLIB_ERROR_HPP
11 #define BOOST_BEAST_ZLIB_ERROR_HPP
12 
13 #include <boost/beast/config.hpp>
15 
16 namespace boost {
17 namespace beast {
18 namespace zlib {
19 
20 // This is a derivative work based on Zlib, copyright below:
21 /*
22  Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
23 
24  This software is provided 'as-is', without any express or implied
25  warranty. In no event will the authors be held liable for any damages
26  arising from the use of this software.
27 
28  Permission is granted to anyone to use this software for any purpose,
29  including commercial applications, and to alter it and redistribute it
30  freely, subject to the following restrictions:
31 
32  1. The origin of this software must not be misrepresented; you must not
33  claim that you wrote the original software. If you use this software
34  in a product, an acknowledgment in the product documentation would be
35  appreciated but is not required.
36  2. Altered source versions must be plainly marked as such, and must not be
37  misrepresented as being the original software.
38  3. This notice may not be removed or altered from any source distribution.
39 
40  Jean-loup Gailly Mark Adler
41  jloup@gzip.org madler@alumni.caltech.edu
42 
43  The data format used by the zlib library is described by RFCs (Request for
44  Comments) 1950 to 1952 in the files http://tools.ietf.org/html/rfc1950
45  (zlib format), rfc1951 (deflate format) and rfc1952 (gzip format).
46 */
47 
50 enum class error
51 {
62  need_buffers = 1,
63 
69 
80 
81  //
82  // Errors generated by basic_deflate_stream
83  //
84 
85  //
86  // Errors generated by basic_inflate_stream
87  //
88 
91 
94 
97 
100 
103 
105  missing_eob,
106 
109 
112 
115 
116  //
117  // Errors generated by inflate_table
118  //
119 
122 
125 
126 
127 
129  general
130 };
131 
132 } // zlib
133 } // beast
134 } // boost
135 
137 
138 #endif
139 
Invalid distance too far back.
Definition: async_result.hpp:20
Too many length or distance symbols.
error
Definition: error.hpp:50
Missing end of block code.