#include "gitkincludes.h"
Include dependency graph for gitkerrors.c:
Go to the source code of this file.
Functions | |
GitkErrorCode | gitk_get_error_code (void) |
get the last error code | |
gchar * | gitk_get_error_str (void) |
get the last error message | |
void | gitk_libxmlxslt_error_func (void *const ctx, const char *const msg,...) |
generic error handler to intercept libxml messages | |
void | gitk_log_handler (const gchar *const log_domain, const GLogLevelFlags log_level, const gchar *const message, gpointer const user_data) |
log handler for gitk. Use g_log_set_handler(G_LOG_DOMAIN,G_LOG_LEVEL_DEBUG|G_LOG_LEVEL_MESSAGE|G_LOG_LEVEL_WARNING|G_LOG_LEVEL_ERROR, gitk_log_handler, NULL); | |
void | gitk_print_handler (const gchar *const message) |
print handler for gitk, use g_set_printerr_handler(gitk_print_handler); | |
void | gitk_set_error (const GitkErrorCode code, const gchar *const str) |
set gitk-error code and string | |
Variables | |
GitkErrorCode | gitk_error_code = 0 |
last error code | |
gchar * | gitk_error_str = "" |
last error message |
Definition in file gitkerrors.c.
|
generic error handler to intercept libxml messages
Definition at line 105 of file gitkerrors.c. References gitk_log. Referenced by gitk_init_xml(), and gitk_init_xsl(). |
|
set gitk-error code and string
Definition at line 42 of file gitkerrors.c. References gitk_error_code, gitk_error_str, gitk_log2, and GitkErrorCode. Referenced by gitk_dialog_new_from_parser_context(), and gitk_dialog_validate(). |
|
last error code
Definition at line 29 of file gitkerrors.c. Referenced by gitk_get_error_code(), and gitk_set_error(). |
|
last error message
Definition at line 34 of file gitkerrors.c. Referenced by gitk_get_error_str(), and gitk_set_error(). |