|
Crow
0.0.4
|
| void nlohmann::crow::capture_exception | ( | const std::exception & | exception, |
| const json & | context = nullptr, |
||
| bool | asynchronous = true, |
||
| bool | handled = true |
||
| ) |
| [in] | exception | the passed exception |
| [in] | context | an optional context object |
| [in] | asynchronous | whether the message should be sent asynchronously |
| [in] | handled | whether the exception was handled and only reported |
| std::invalid_argument | if context object contains invalid key |