httpxx 0.1
Streaming HTTP Parser for C++

http::Error Class Reference

Raised when a parser signals inability to parse fed data. More...

#include <Error.hpp>

Inherits std::exception.

List of all members.

Public Member Functions

 Error (::http_errno number)
 Build an Error instance documenting a specific error.
virtual const char * what () const
 Obtain a textual description of the error.

Detailed Description

Raised when a parser signals inability to parse fed data.

Definition at line 20 of file Error.hpp.


Constructor & Destructor Documentation

http::Error::Error ( ::http_errno  number) [explicit]

Build an Error instance documenting a specific error.

Parameters:
numberNumeric error code.

Definition at line 22 of file Error.cpp.


Member Function Documentation

const char * http::Error::what ( ) const [virtual]

Obtain a textual description of the error.

Returns:
A pointer to the start of a statically allocated error message. Do not delete the returned error message.

Definition at line 27 of file Error.cpp.


The documentation for this class was generated from the following files:
 All Classes Functions