Function
GLibErrornew
Description
Creates a new GError
with the given domain
and code
,
and a message formatted with format
.
Parameters
domain |
GQuark |
Error domain. |
|
code |
gint |
Error code. |
|
format |
const gchar* |
Printf()-style format for error message. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
... |
|
Parameters for message format. |
Return value
Returns: | GError |
A new |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |