![]() |
Bitcoin Core 30.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 292 of file setup_common.h.
|
inlineexplicit |
Definition at line 295 of file setup_common.h.
|
inline |
Definition at line 297 of file setup_common.h.
|
inline |
Definition at line 296 of file setup_common.h.
|
private |
Definition at line 300 of file setup_common.h.