Bitcoin Core 28.99.0
P2P Digital Currency
|
BOOST_CHECK_EXCEPTION predicates to check the specific validation error. More...
#include <setup_common.h>
Public Member Functions | |
HasReason (std::string_view reason) | |
bool | operator() (std::string_view s) const |
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 294 of file setup_common.h.
|
inlineexplicit |
Definition at line 297 of file setup_common.h.
|
inline |
Definition at line 299 of file setup_common.h.
|
inline |
Definition at line 298 of file setup_common.h.
|
private |
Definition at line 302 of file setup_common.h.