Yet Another HTTP Library
yahttp
 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:
Inheritance graph
[legend]
Collaboration diagram for YaHTTP::Error:
Collaboration graph
[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: