| 220 | |
| 221 | #ifndef BOOST_LEAF_NO_EXCEPTIONS |
| 222 | void check_exception(boost::json::value const & j) |
| 223 | { |
| 224 | auto const & exj = j.at("std::exception"); |
| 225 | BOOST_TEST(!boost::json::value_to<std::string>(exj.at("dynamic_type")).empty()); |
| 226 | BOOST_TEST(!boost::json::value_to<std::string>(exj.at("what")).empty()); |
| 227 | } |
| 228 | #endif |
| 229 | |
| 230 | int main() |