[geocode-glib] lib: Add "invalid arguments" error



commit c2fe0964f4d23a1c3323dda0435e07e2f5965002
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Oct 24 18:38:47 2012 +0200

    lib: Add "invalid arguments" error

 geocode-glib/geocode-error.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/geocode-glib/geocode-error.h b/geocode-glib/geocode-error.h
index dcca063..586a59d 100644
--- a/geocode-glib/geocode-error.h
+++ b/geocode-glib/geocode-error.h
@@ -41,13 +41,15 @@ G_BEGIN_DECLS
  * @GEOCODE_ERROR_PARSE: An error occured parsing the response from the web service.
  * @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.
  *
  * Error codes returned by geocode-glib functions.
  **/
 typedef enum {
 	GEOCODE_ERROR_PARSE,
 	GEOCODE_ERROR_NOT_SUPPORTED,
-	GEOCODE_ERROR_NO_MATCHES
+	GEOCODE_ERROR_NO_MATCHES,
+	GEOCODE_ERROR_INVALID_ARGUMENTS
 } GeocodeError;
 
 



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