![]() |
Bitcoin Core 31.99.0
P2P Digital Currency
|
BOOST_CHECK_EXCEPTION predicates to check the specific validation error. More...
#include <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"));
|
inlineexplicit |
|
inline |
|
inline |