Dash Core  0.12.2.1
P2P Digital Currency
governance-exceptions.h File Reference
#include <exception>
#include <iostream>
#include <sstream>
#include <string>

Go to the source code of this file.

Classes

class  CGovernanceException
 

Enumerations

enum  governance_exception_type_enum_t {
  GOVERNANCE_EXCEPTION_NONE = 0, GOVERNANCE_EXCEPTION_WARNING = 1, GOVERNANCE_EXCEPTION_PERMANENT_ERROR = 2, GOVERNANCE_EXCEPTION_TEMPORARY_ERROR = 3,
  GOVERNANCE_EXCEPTION_INTERNAL_ERROR = 4
}
 

Functions

std::ostream & operator<< (std::ostream &os, governance_exception_type_enum_t eType)
 

Enumeration Type Documentation

◆ governance_exception_type_enum_t

Enumerator
GOVERNANCE_EXCEPTION_NONE 

Default value, normally indicates no exception condition occurred.

GOVERNANCE_EXCEPTION_WARNING 

Unusual condition requiring no caller action.

GOVERNANCE_EXCEPTION_PERMANENT_ERROR 

Requested operation cannot be performed.

GOVERNANCE_EXCEPTION_TEMPORARY_ERROR 

Requested operation not currently possible, may resubmit later.

GOVERNANCE_EXCEPTION_INTERNAL_ERROR 

Unexpected error (ie. should not happen unless there is a bug in the code)

Definition at line 13 of file governance-exceptions.h.

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
governance_exception_type_enum_t  eType 
)
inline

Definition at line 26 of file governance-exceptions.h.