Error
Creates a new #GError; unlike g_error_new(), @message is not a printf()-style format string. Use this function if
Return
a new #GError
Parameters
error domain
error code
error message
Allocate a new Error.
This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.
Allocate a new Error using the provided AutofreeScope.
The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped
.
Parameters
The AutofreeScope to allocate this structure in.
Allocate a new Error.
This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.
Parameters
error domain, e.g. %G_FILE_ERROR
error code, e.g. %G_FILE_ERROR_NOENT
human-readable informative error message
Allocate a new Error using the provided AutofreeScope.
The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped
.
Parameters
error domain, e.g. %G_FILE_ERROR
error code, e.g. %G_FILE_ERROR_NOENT
human-readable informative error message
The AutofreeScope to allocate this structure in.