| 393 | { |
| 394 | public: |
| 395 | static type_error create(int id_, const std::string& what_arg) |
| 396 | { |
| 397 | std::string w = exception::name("type_error", id_) + what_arg; |
| 398 | return type_error(id_, w.c_str()); |
| 399 | } |
| 400 | |
| 401 | private: |
| 402 | type_error(int id_, const char* what_arg) : exception(id_, what_arg) {} |
nothing calls this directly
no test coverage detected