make meta-error messages more precise

This commit is contained in:
mjk 2021-03-19 21:58:12 +00:00 committed by LAGonauta
parent 5e50d1d2d7
commit c44b1daaf7
2 changed files with 2 additions and 2 deletions

View file

@ -77,7 +77,7 @@ inline impl::varstring describe_arguments(const Arg &... a) noexcept try
} }
catch (...) catch (...)
{ {
return {"<failed to stringify>"}; return {"<failed to stringify arguments>"};
} }

View file

@ -24,7 +24,7 @@ namespace glib::impl
catch (...) catch (...)
{ {
g_free(const_cast<char *>(ptr)); g_free(const_cast<char *>(ptr));
return {{ e.code(), {"<failed to stringify>"} }}; return {{ e.code(), {"<failed to stringify error>"} }};
} }
} }
catch (...) catch (...)