Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
governance-exceptions.h
Go to the documentation of this file.
virtual ~CGovernanceException() noexcept
Definition: governance-exceptions.h:77
Default value, normally indicates no exception condition occurred.
Definition: governance-exceptions.h:15
governance_exception_type_enum_t GetType() const
Definition: governance-exceptions.h:89
int GetNodePenalty() const
Definition: governance-exceptions.h:94
Requested operation cannot be performed.
Definition: governance-exceptions.h:19
Unexpected error (ie. should not happen unless there is a bug in the code)
Definition: governance-exceptions.h:23
Requested operation not currently possible, may resubmit later.
Definition: governance-exceptions.h:21
std::ostream & operator<<(std::ostream &os, governance_exception_type_enum_t eType)
Definition: governance-exceptions.h:26
A class which encapsulates information about a governance exception condition.
Definition: governance-exceptions.h:55
virtual const char * what() const noexcept override
Definition: governance-exceptions.h:79
governance_exception_type_enum_t eType
Definition: governance-exceptions.h:60
governance_exception_type_enum_t
Definition: governance-exceptions.h:13
Unusual condition requiring no caller action.
Definition: governance-exceptions.h:17
const std::string & GetMessage() const
Definition: governance-exceptions.h:84
CGovernanceException(const std::string &strMessageIn="", governance_exception_type_enum_t eTypeIn=GOVERNANCE_EXCEPTION_NONE, int nNodePenaltyIn=0)
Definition: governance-exceptions.h:65