| Class | Error | Base class for all errors in zim. | 
| Function | exception_handler | No summary | 
| Function | get_error_msg | No summary | 
| Function | log_error | Log error and traceback @param error: error as understood by get_error_msg()@param debug: optional debug message, defaults to the error itself | 
| Function | set_use_gtk | No summary | 
| Function | show_error | Show an error by calling log_error()and when running interactive also callingErrorDialog. @param error: the error object | 
| Variable | logger | Undocumented | 
| Variable | use_gtk_errordialog | Undocumented | 
| Function | _run_error_dialog | Undocumented | 
| Parameters | |
| debug | debug message for logging | 
| Parameters | |
| error | error object or string | 
| Returns | |
| 2-tuple of: message string and a boolean whether a traceback should be shown or not | |
| Parameters | |
| error | error as understood by get_error_msg() | 
| debug | optional debug message, defaults to the error itself | 
show_error and exception_handler shold use the ErrorDialog or not.| Parameters | |
| use_gtk | set True for interactive gui, False for terminal mode | 
log_error() and when running interactive also calling ErrorDialog.| Parameters | |
| error | the error object |