Function
EDataServerClienterror_create_fmt
since: 3.34
Declaration [src]
GError*
e_client_error_create_fmt (
EClientError code,
const gchar* format,
...
)
Description [src]
Similar as e_client_error_create(), only here, instead of custom_msg,
is used a printf() format to create a custom message for the error.
Available since: 3.34
This function is not directly available to language bindings.
Parameters
code-
Type:
EClientErrorAn
EClientError. format-
Type:
const gchar*Message format, or
NULLto use the default message for thecode.The argument can be NULL.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. ...-
Type:
Arguments for the format.
Return value
Type: GError
A newly allocated GError, which should be
freed with g_error_free(), when no longer needed. The GError has set the custom message, or the default message for
code, when format is NULL.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |