[ CCode ( cname = "g_set_error_literal" ) ]
public static void set_literal (out Error? dest, Quark domain, int code, string message)
Does nothing if err
is null; if err
is non-null
, then *err
must be null.
A new Error is created and assigned to *err
. Unlike
@set, 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.
domain |
error domain |
code |
error code |
message |
error message |
err |
a return location for a Error |