Top | ![]() |
![]() |
![]() |
![]() |
GdaError * | gda_error_new () |
void | gda_error_free () |
GList * | gda_error_list_copy () |
void | gda_error_list_free () |
const gchar * | gda_error_get_description () |
void | gda_error_set_description () |
glong | gda_error_get_number () |
void | gda_error_set_number () |
const gchar * | gda_error_get_source () |
void | gda_error_set_source () |
const gchar * | gda_error_get_sqlstate () |
void | gda_error_set_sqlstate () |
void
gda_error_free (GdaError *error
);
Frees the memory allocated by the error object.
GList *
gda_error_list_copy (const GList *errors
);
Creates a new list which contains the same errors as errors
and
adds a reference for each error in the list.
You must free the list using gda_error_list_free.
void
gda_error_list_free (GList *errors
);
Frees all error objects in the list and the list itself.
After this function has been called, the errors
parameter doesn't point
to valid storage any more.
void gda_error_set_description (GdaError *error
,const gchar *description
);
Sets error
's description
.
void gda_error_set_number (GdaError *error
,glong number
);
Sets error
's number
.
void gda_error_set_source (GdaError *error
,const gchar *source
);
Sets error
's source
.