Classes | Functions

error-info.c File Reference

#include <goffice/goffice-config.h>
#include <goffice/app/error-info.h>
#include <stdio.h>
#include <errno.h>

Classes

struct  _GOErrorInfo

Functions

GOErrorInfogo_error_info_new_str (char const *msg)
GOErrorInfogo_error_info_new_vprintf (GOSeverity severity, char const *msg_format, va_list args)
GOErrorInfogo_error_info_new_printf (char const *msg_format,...)
GOErrorInfogo_error_info_new_str_with_details (char const *msg, GOErrorInfo *details)
GOErrorInfogo_error_info_new_str_with_details_list (char const *msg, GSList *details)
GOErrorInfogo_error_info_new_from_error_list (GSList *errors)
GOErrorInfogo_error_info_new_from_errno (void)
void go_error_info_add_details (GOErrorInfo *error, GOErrorInfo *details)
void go_error_info_add_details_list (GOErrorInfo *error, GSList *details)
void go_error_info_free (GOErrorInfo *error)
static void go_error_info_print_with_offset (GOErrorInfo *error, gint offset)
void go_error_info_print (GOErrorInfo *error)
char const * go_error_info_peek_message (GOErrorInfo *error)
GSList * go_error_info_peek_details (GOErrorInfo *error)
GOSeverity go_error_info_peek_severity (GOErrorInfo *error)

Function Documentation

void go_error_info_add_details ( GOErrorInfo error,
GOErrorInfo details 
)
void go_error_info_add_details_list ( GOErrorInfo error,
GSList *  details 
)
void go_error_info_free ( GOErrorInfo error  ) 
GOErrorInfo* go_error_info_new_from_errno ( void   ) 
GOErrorInfo* go_error_info_new_from_error_list ( GSList *  errors  ) 
GOErrorInfo* go_error_info_new_printf ( char const *  msg_format,
  ... 
)
GOErrorInfo* go_error_info_new_str ( char const *  msg  ) 
GOErrorInfo* go_error_info_new_str_with_details ( char const *  msg,
GOErrorInfo details 
)
GOErrorInfo* go_error_info_new_str_with_details_list ( char const *  msg,
GSList *  details 
)
GOErrorInfo* go_error_info_new_vprintf ( GOSeverity  severity,
char const *  msg_format,
va_list  args 
)
GSList* go_error_info_peek_details ( GOErrorInfo error  ) 

References _GOErrorInfo::details.

char const* go_error_info_peek_message ( GOErrorInfo error  ) 

References _GOErrorInfo::msg.

GOSeverity go_error_info_peek_severity ( GOErrorInfo error  ) 

References GO_ERROR, and _GOErrorInfo::severity.

void go_error_info_print ( GOErrorInfo error  ) 
static void go_error_info_print_with_offset ( GOErrorInfo error,
gint  offset 
) [static]