libgitk error handling
[libgitk core]


Files

file  gitkerrors.c
 libgitk error management

file  gitkerrors.h
 libgitk error codes


Functions

GitkErrorCode gitk_get_error_code (void)
 get the last error code

gchar * gitk_get_error_str (void)
 get the last error message


Detailed Description

This module provides the API to access the error state of the core library and the related messages. The error messages are part of the gettext cataloges, so that they can be localized.

Function Documentation

GitkErrorCode gitk_get_error_code void   ) 
 

get the last error code

Returns:
last error code

Definition at line 53 of file gitkerrors.c.

References gitk_error_code, and GitkErrorCode.

Referenced by gitk_template_message_with_title(), main(), main_show(), test_gitk_dialog_new_from_string_1(), test_gitk_dialog_show_1(), test_gitk_dialog_show_2(), and test_gitk_widget_set_get_value().

gchar* gitk_get_error_str void   ) 
 

get the last error message

Returns:
last error message

Definition at line 61 of file gitkerrors.c.

References gitk_error_str.

Referenced by gitk_template_message_with_title(), main(), main_show(), test_gitk_dialog_new_from_string_1(), test_gitk_dialog_show_1(), test_gitk_dialog_show_2(), and test_gitk_widget_set_get_value().


Generated on Thu Oct 28 11:04:11 2004 for gitk by doxygen 1.3.6