prefix


Description:

[ CCode ( cname = "g_prefix_error" ) ]
public static void prefix (out Error? dest, string format, ...)

Formats a string according to format and prefix it to an existing error message.

If err is null (ie: no error variable) then do nothing.

If *err is null (ie: an error variable is present but there is no error condition) then also do nothing.

Parameters:

format

printf-style format string

...

arguments to format

err

a return location for a Error