Add core errors and conditions

This commit is contained in:
Vinnie Falco
2018-12-30 12:51:34 -08:00
parent 25f144f936
commit 2d3912751b
7 changed files with 246 additions and 1 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ void fxx() {
error_code ec;
request<string_body> req;
read(sock, buffer, req, ec);
if(ec == error::buffer_overflow)
if(ec == http::error::buffer_overflow)
std::cerr << "Buffer limit exceeded!" << std::endl;
//]