1 #include <msp/debug/demangle.h>
2 #include <msp/strings/format.h>
3 #include <msp/strings/utils.h>
10 string key_error::make_what(const type_info &type, const string &value)
12 if(&type==&typeid(string))
13 return format("\"%s\"", c_escape(value));
15 return format("%s(%s)", Debug::demangle(type.name()), value);