ゴミ箱
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_HTTP_ERROR_HPP
11 #define BOOST_BEAST_HTTP_ERROR_HPP
12 
13 #include <boost/beast/config.hpp>
15 
16 namespace boost {
17 namespace beast {
18 namespace http {
19 
21 enum class error
22 {
35  end_of_stream = 1,
36 
44 
51  need_more,
52 
62 
77 
81 
89 
96 
102  body_limit,
103 
109  bad_alloc,
110 
111  //
112  // (parser errors)
113  //
114 
117 
119  bad_method,
120 
122  bad_target,
123 
125  bad_version,
126 
128  bad_status,
129 
131  bad_reason,
132 
134  bad_field,
135 
137  bad_value,
138 
141 
144 
146  bad_chunk,
147 
150 
153 };
154 
155 } // http
156 } // beast
157 } // boost
158 
160 
161 #endif
The chunk extension is invalid.
Definition: async_result.hpp:20
error
Error codes returned from HTTP algorithms and operations.
Definition: error.hpp:21
Definition: beast_common.hpp:6
The HTTP-version is invalid.
The Transfer-Encoding is invalid.
The request-target is invalid.
The field name is invalid.
The reason-phrase is invalid.
The line ending was malformed.
An obs-fold exceeded an internal limit.
The chunk syntax is invalid.
The Content-Length is invalid.
The status-code is invalid.
The field value is invalid.