PionNetworkLibrary
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
error.hpp File Reference
#include <string>
#include <sstream>
#include <exception>
#include <boost/version.hpp>
#include <boost/throw_exception.hpp>
#include <boost/exception/exception.hpp>
#include <boost/exception/info.hpp>
#include <boost/exception/error_info.hpp>
#include <boost/exception/get_error_info.hpp>
#include <pion/config.hpp>
Include dependency graph for error.hpp:
This graph shows which files directly or indirectly include this file:

Classes

class  pion::exception
 
class  pion::error::bad_arg
 exception thrown for an invalid configuration argument or option More...
 
class  pion::error::bad_config
 exception thrown if there is an error parsing a configuration file More...
 
class  pion::error::open_file
 exception thrown if we failed to open a file More...
 
class  pion::error::open_plugin
 exception thrown if we are unable to open a plugin More...
 
class  pion::error::read_file
 exception thrown if we failed to read data from a file More...
 
class  pion::error::file_not_found
 exception thrown if a file is not found More...
 
class  pion::error::directory_not_found
 exception thrown if a required directory is not found More...
 
class  pion::error::plugin_not_found
 exception thrown if a plugin cannot be found More...
 
class  pion::error::duplicate_plugin
 exception thrown if we try to add or load a duplicate plugin More...
 
class  pion::error::plugin_missing_symbol
 exception thrown if a plugin is missing a required symbol More...
 
class  pion::error::plugin_undefined
 exception thrown if a plugin has an undefined state More...
 
class  pion::error::bad_password_hash
 exception thrown if a bad password hash is provided More...
 

Namespaces

 pion
 
 pion::error
 

Typedefs

typedef boost::error_info
< struct errinfo_arg_name_,
std::string > 
pion::error::errinfo_message
 generic error message More...
 
typedef boost::error_info
< struct errinfo_arg_name_,
std::string > 
pion::error::errinfo_arg_name
 name of an unrecognized configuration argument or option More...
 
typedef boost::error_info
< struct errinfo_file_name_,
std::string > 
pion::error::errinfo_file_name
 file name/path More...
 
typedef boost::error_info
< struct errinfo_dir_name_,
std::string > 
pion::error::errinfo_dir_name
 directory name/path More...
 
typedef boost::error_info
< struct errinfo_plugin_name_,
std::string > 
pion::error::errinfo_plugin_name
 plugin identifier More...
 
typedef boost::error_info
< struct errinfo_dir_name_,
std::string > 
pion::error::errinfo_symbol_name
 plugin symbol name More...
 

Functions

template<class T >
static std::string pion::diagnostic_information (T const &e)