[folks/bgo629006-persona-add-edge-cases7: 1/2] Add STORE_OFFLINE error types for temporary failures.



commit 9596cedc66a858732fc4c8bf6c4d2bbfab29efc2
Author: Travis Reitter <travis reitter collabora co uk>
Date:   Wed Sep 15 08:55:50 2010 -0700

    Add STORE_OFFLINE error types for temporary failures.
    
    These are temporary/recoverable failures due to the store being offline.
    
    Helps bgo#629006.

 folks/individual-aggregator.vala |    7 +++++++
 folks/persona-store.vala         |    7 +++++++
 2 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/folks/individual-aggregator.vala b/folks/individual-aggregator.vala
index 87cbc01..50a09cb 100644
--- a/folks/individual-aggregator.vala
+++ b/folks/individual-aggregator.vala
@@ -43,6 +43,13 @@ public errordomain Folks.IndividualAggregatorError
    * @since 0.1.13
    */
   NO_WRITEABLE_STORE,
+
+  /**
+   * The { link PersonaStore} was offline (ie, this is a temporary failure).
+   *
+   * @since 0.3.0
+   */
+  STORE_OFFLINE,
 }
 
 /**
diff --git a/folks/persona-store.vala b/folks/persona-store.vala
index f1e6e3a..b860e81 100644
--- a/folks/persona-store.vala
+++ b/folks/persona-store.vala
@@ -84,6 +84,13 @@ public errordomain Folks.PersonaStoreError
    * @since 0.3.0
    */
   UNSUPPORTED_ON_USER,
+
+  /**
+   * The { link PersonaStore} was offline (ie, this is a temporary failure).
+   *
+   * @since 0.3.0
+   */
+  STORE_OFFLINE,
 }
 
 /**



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