|  | Home | Libraries | People | FAQ | More | 
Error codes returned from HTTP algorithms and operations.
        Defined in header <boost/beast/http/error.hpp>
      
enum error
| Name | Description | 
|---|---|
| 
                   | The end of the stream was reached. This error is returned under the following conditions:When attempting to read HTTP data from a stream and the stream read returns the error boost::asio::error::eof before any new octets have been received. When sending a complete HTTP message at once and the semantics of the message are that the connection should be closed to indicate the end of the message. | 
| 
                   | The incoming message is incomplete. This happens when the end of stream is reached during parsing and some octets have been received, but not the entire message. | 
| 
                   | Additional buffers are required. This error is returned during parsing when additional octets are needed. The caller should append more data to the existing buffer and retry the parse operaetion. | 
| 
                   | An unexpected body was encountered during parsing. This error is returned when attempting to parse body octets into a message container which has the empty_body body type.empty_body | 
| 
                   | Additional buffers are required. This error is returned under the following conditions:During serialization when using buffer_body. The caller should update the body to point to a new buffer or indicate that there are no more octets in the body. During parsing when using buffer_body. The caller should update the body to point to a new storage area to receive additional body octets. | 
| 
                   | The end of a chunk was reached. | 
| 
                   | Buffer maximum exceeded. This error is returned when reading HTTP content into a dynamic buffer, and the operation would exceed the maximum size of the buffer. | 
| 
                   | Header limit exceeded. The parser detected an incoming message header which exceeded a configured limit. | 
| 
                   | Body limit exceeded. The parser detected an incoming message body which exceeded a configured limit. | 
| 
                   | A memory allocation failed. When basic_fields throws std::bad_alloc, it is converted into this error by parser. | 
| 
                   | The line ending was malformed. | 
| 
                   | The method is invalid. | 
| 
                   | The request-target is invalid. | 
| 
                   | The HTTP-version is invalid. | 
| 
                   | The status-code is invalid. | 
| 
                   | The reason-phrase is invalid. | 
| 
                   | The field name is invalid. | 
| 
                   | The field value is invalid. | 
| 
                   | The Content-Length is invalid. | 
| 
                   | The Transfer-Encoding is invalid. | 
| 
                   | The chunk syntax is invalid. | 
| 
                   | The chunk extension is invalid. | 
| 
                   | An obs-fold exceeded an internal limit. | 
        Convenience header <boost/beast/http.hpp>