ErrorG.gSetErrorLiteral

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 g_set_error(), 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. Since 2.18

class ErrorG
static
void
gSetErrorLiteral
(,,
int code
,
string message
)

Parameters

err ErrorG

a return location for a GError, or NULL

domain GQuark

error domain

code int

error code

message string

error message

Meta