| 4576 | public: |
| 4577 | template<typename BasicJsonContext, enable_if_t<is_basic_json_context<BasicJsonContext>::value, int> = 0> |
| 4578 | static other_error create(int id_, const std::string& what_arg, BasicJsonContext context) |
| 4579 | { |
| 4580 | const std::string w = concat(exception::name("other_error", id_), exception::diagnostics(context), what_arg); |
| 4581 | return {id_, w.c_str()}; |
| 4582 | } |
| 4583 | |
| 4584 | private: |
| 4585 | JSON_HEDLEY_NON_NULL(3) |