setErrorLiteral
fn
void setErrorLiteral(out glib.error.ErrorWrap err, glib.types.Quark domain, int code, string message)Does nothing if err is null; if err is non-null, then *err must be null. A new #GError is created and assigned to *err. Unlike [glib.global.setError], message is not a printf()-style format string. Use this function if message contains text you don't have control over, that could include printf() escape sequences.
Parameters
err | a return location for a #GError |
domain | error domain |
code | error code |
message | error message |