TARAXA
Exceptions.h File Reference
#include <boost/exception/diagnostic_information.hpp>
#include <boost/exception/errinfo_api_function.hpp>
#include <boost/exception/exception.hpp>
#include <boost/exception/info.hpp>
#include <boost/exception/info_tuple.hpp>
#include <boost/throw_exception.hpp>
#include <boost/tuple/tuple.hpp>
#include <exception>
#include <string>
#include "FixedHash.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  dev::Exception
 Base class for all exceptions. More...
 
struct  dev::RLPException
 Base class for all RLP exceptions. More...
 

Namespaces

 dev
 

Macros

#define DEV_SIMPLE_EXCEPTION(X)    struct X : virtual ::dev::Exception {}
 
#define DEV_SIMPLE_EXCEPTION_RLP(X)    struct X : virtual ::dev::RLPException {}
 

Typedefs

using dev::errinfo_invalidSymbol = boost::error_info< struct tag_invalidSymbol, char >
 
using dev::errinfo_wrongAddress = boost::error_info< struct tag_address, std::string >
 
using dev::errinfo_required = boost::error_info< struct tag_required, bigint >
 
using dev::errinfo_got = boost::error_info< struct tag_got, bigint >
 
using dev::errinfo_min = boost::error_info< struct tag_min, bigint >
 
using dev::errinfo_max = boost::error_info< struct tag_max, bigint >
 
using dev::RequirementError = boost::tuple< errinfo_required, errinfo_got >
 
using dev::RequirementErrorComment = boost::tuple< errinfo_required, errinfo_got, errinfo_comment >
 
using dev::errinfo_hash256 = boost::error_info< struct tag_hash, h256 >
 
using dev::errinfo_required_h256 = boost::error_info< struct tag_required_h256, h256 >
 
using dev::errinfo_got_h256 = boost::error_info< struct tag_get_h256, h256 >
 
using dev::Hash256RequirementError = boost::tuple< errinfo_required_h256, errinfo_got_h256 >
 
using dev::errinfo_extraData = boost::error_info< struct tag_extraData, bytes >
 
using dev::errinfo_externalFunction = boost::errinfo_api_function
 
using dev::errinfo_interface = boost::error_info< struct tag_interface, std::string >
 
using dev::errinfo_path = boost::error_info< struct tag_path, std::string >
 
using dev::errinfo_nodeID = boost::error_info< struct tag_nodeID, h512 >
 

Functions

 dev::DEV_SIMPLE_EXCEPTION_RLP (BadCast)
 
 dev::DEV_SIMPLE_EXCEPTION_RLP (BadRLP)
 
 dev::DEV_SIMPLE_EXCEPTION_RLP (OversizeRLP)
 
 dev::DEV_SIMPLE_EXCEPTION_RLP (UndersizeRLP)
 
 dev::DEV_SIMPLE_EXCEPTION (BadHexCharacter)
 
 dev::DEV_SIMPLE_EXCEPTION (NoNetworking)
 
 dev::DEV_SIMPLE_EXCEPTION (NoUPnPDevice)
 
 dev::DEV_SIMPLE_EXCEPTION (RootNotFound)
 
 dev::DEV_SIMPLE_EXCEPTION (BadRoot)
 
 dev::DEV_SIMPLE_EXCEPTION (FileError)
 
 dev::DEV_SIMPLE_EXCEPTION (Overflow)
 
 dev::DEV_SIMPLE_EXCEPTION (FailedInvariant)
 
 dev::DEV_SIMPLE_EXCEPTION (ValueTooLarge)
 
 dev::DEV_SIMPLE_EXCEPTION (UnknownField)
 
 dev::DEV_SIMPLE_EXCEPTION (MissingField)
 
 dev::DEV_SIMPLE_EXCEPTION (WrongFieldType)
 
 dev::DEV_SIMPLE_EXCEPTION (InterfaceNotSupported)
 
 dev::DEV_SIMPLE_EXCEPTION (ExternalFunctionFailure)
 
 dev::DEV_SIMPLE_EXCEPTION (WaitTimeout)
 

Macro Definition Documentation

◆ DEV_SIMPLE_EXCEPTION

#define DEV_SIMPLE_EXCEPTION (   X)     struct X : virtual ::dev::Exception {}

◆ DEV_SIMPLE_EXCEPTION_RLP

#define DEV_SIMPLE_EXCEPTION_RLP (   X)     struct X : virtual ::dev::RLPException {}