Yet Another HTTP Library: YaHTTP::Error Class Reference

Yet Another HTTP Library yahttp

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
YaHTTP::Error Class Reference

`#include <exception.hpp>`

Inheritance diagram for YaHTTP::Error:
[legend]
Collaboration diagram for YaHTTP::Error:
[legend]

## Public Member Functions
| Error ()
| Error (const std::string &reason)
virtual | ~Error () throw ()
virtual const char * | what () const throw ()

## Public Attributes
const std::string | reason

## Detailed Description

Generic error class

## Constructor & Destructor Documentation

YaHTTP::Error::Error | ( |  | ) |
| inline

YaHTTP::Error::Error | ( | const std::string & | reason | ) |
| inline

virtual YaHTTP::Error::~Error | ( |  | ) |
throw | ( |
| ) |  |
| inlinevirtual

## Member Function Documentation

virtual const char* YaHTTP::Error::what | ( |  | ) | const
throw | ( |
| ) |  |
| inlinevirtual

## Member Data Documentation

const std::string YaHTTP::Error::reason

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

- /home/cmouse/projects/libyahttp/yahttp/exception.hpp