Bitcoin Core
27.99.0
P2P Digital Currency
|
BOOST_CHECK_EXCEPTION predicates to check the specific validation error. More...
#include <setup_common.h>
Public Member Functions | |
HasReason (const std::string &reason) | |
bool | operator() (const std::exception &e) const |
Private Attributes | |
const std::string | m_reason |
BOOST_CHECK_EXCEPTION predicates to check the specific validation error.
Use as BOOST_CHECK_EXCEPTION(code that throws, exception type, HasReason("foo"));
Definition at line 243 of file setup_common.h.
|
inlineexplicit |
Definition at line 246 of file setup_common.h.
|
inline |
Definition at line 247 of file setup_common.h.
|
private |
Definition at line 253 of file setup_common.h.