| 1879 | exception(int id_, const char* what_arg) : id(id_), m(what_arg) {} |
| 1880 | |
| 1881 | static std::string name(const std::string& ename, int id_) |
| 1882 | { |
| 1883 | return "[json.exception." + ename + "." + std::to_string(id_) + "] "; |
| 1884 | } |
| 1885 | |
| 1886 | private: |
| 1887 | /// an exception object as storage for error messages |
no test coverage detected