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 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.

void
setErrorLiteral

Parameters

err glib.error.ErrorG

a return location for a #GError

domain glib.types.Quark

error domain

code int

error code

message string

error message