ErrorG.setErrorLiteral

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.

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

Parameters

err ErrorG

a return location for a GError

domain GQuark

error domain

code int

error code

message string

error message

Meta

Since

2.18