[discident-glib] lib: Add an error for when the response is empty



commit 2e3e20be9f90219513391af2e5cb4e736597a13b
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Apr 2 15:41:11 2013 +0200

    lib: Add an error for when the response is empty

 discident-glib/discident-error.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/discident-glib/discident-error.h b/discident-glib/discident-error.h
index 39010ae..fcfeea2 100644
--- a/discident-glib/discident-error.h
+++ b/discident-glib/discident-error.h
@@ -30,11 +30,13 @@ G_BEGIN_DECLS
 /**
  * DiscidentError:
  * @DISCIDENT_ERROR_PARSE: An error occured parsing the response from the web service.
+ * @DISCIDENT_ERROR_EMPTY_RESPONSE: No answers from the web service.
  *
  * Error codes returned by discident-glib functions.
  **/
 typedef enum {
-       DISCIDENT_ERROR_PARSE
+       DISCIDENT_ERROR_PARSE,
+       DISCIDENT_ERROR_EMPTY_RESPONSE
 } DiscidentError;
 
 /**


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