[geocode-glib/gnome-maps: 2/6] lib: Add error code for internal server errors



commit e9176d2d3b817a5ae72386c77025658d2e93c721
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Fri Mar 22 19:00:33 2013 +0200

    lib: Add error code for internal server errors
    
    https://bugzilla.gnome.org/show_bug.cgi?id=696526

 geocode-glib/geocode-error.h |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/geocode-glib/geocode-error.h b/geocode-glib/geocode-error.h
index 586a59d..dedd770 100644
--- a/geocode-glib/geocode-error.h
+++ b/geocode-glib/geocode-error.h
@@ -42,6 +42,7 @@ G_BEGIN_DECLS
  * @GEOCODE_ERROR_NOT_SUPPORTED: The request made was not supported.
  * @GEOCODE_ERROR_NO_MATCHES: The requests made didn't have any matches.
  * @GEOCODE_ERROR_INVALID_ARGUMENTS: The request made contained invalid arguments.
+ * @GEOCODE_ERROR_INTERNAL_SERVER: The server encountered an (possibly unrecoverable) internal error.
  *
  * Error codes returned by geocode-glib functions.
  **/
@@ -49,10 +50,10 @@ typedef enum {
        GEOCODE_ERROR_PARSE,
        GEOCODE_ERROR_NOT_SUPPORTED,
        GEOCODE_ERROR_NO_MATCHES,
-       GEOCODE_ERROR_INVALID_ARGUMENTS
+       GEOCODE_ERROR_INVALID_ARGUMENTS,
+       GEOCODE_ERROR_INTERNAL_SERVER
 } GeocodeError;
 
-
 GQuark geocode_error_quark (void);
 
 G_END_DECLS


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]