Marc-André Lureau <marcandre.lur...@redhat.com> writes:
[...] > We hit an interesting limit of the API though, because error_setg() with > &error_fatal will fail immediately before append_hint(). > > But we can work around it by using a ERRP_GUARD() ! error.h again: * Create an error and add additional explanation: * error_setg(errp, "invalid quark"); * error_append_hint(errp, "Valid quarks are up, down, strange, " * "charm, top, bottom.\n"); ---> * This may require use of ERRP_GUARD(); more on that below. ;) > sending v2 Thanks!