noos::cloud::default_error_handler Struct Reference

default error handler will output on stderr More...

#include <default_error_handler.hpp>

Public Member Functions

void operator() (boost::system::error_code &error) const
 operator which will show an output with the error obtained
 

Static Public Attributes

static const std::string error_message
 

Detailed Description

default error handler will output on stderr

Version
0.7.3
Author
Alex Giokas a.gki.nosp@m.okas.nosp@m.@orte.nosp@m.lio..nosp@m.co.uk
Date
7 June 2017

common errors are:

  • boost::system::errc::bad_message if the header is not followed by a double return carriage
  • boost::system::errc::no_message if the platform does not respond with any data
  • boost::system::errc::protocol_not_supported if the reply does not conform to HTTP 1.1
  • boost::system::errc::protocol_error if HTTP header does not respond with 200 status code
Collaboration diagram for noos::cloud::default_error_handler:

The documentation for this struct was generated from the following file: