[geocode-glib] lib: Add error code for internal server errors
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geocode-glib] lib: Add error code for internal server errors
- Date: Tue, 2 Apr 2013 17:44:11 +0000 (UTC)
commit e25df53d2d727f6f4f17990955683fefdf73ba87
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]