make meta-error messages more precise
This commit is contained in:
parent
5e50d1d2d7
commit
c44b1daaf7
|
@ -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>"};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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 (...)
|
||||||
|
|
Loading…
Reference in a new issue