CppCMS
|
The error that is thrown in case of bad conversion of json::value to ordinary value. More...
#include <cppcms/json.h>
Public Member Functions | |
bad_value_cast (std::string const &s) | |
bad_value_cast (std::string const &s, json_type actual) | |
bad_value_cast (std::string const &s, json_type expected, json_type actual) | |
virtual const char * | what () const throw () |
The error that is thrown in case of bad conversion of json::value to ordinary value.
When implementing json::traits for complex classes you are expected to throw this exception in case of invalid formatting