check ReadCallback before using it
[folly.git] / folly / futures / FutureException.h
index dce9e2620e486a404e7bacd6362934bbc08955a5..1e004dcf167a88b37a9a97762aa3b3370669244e 100644 (file)
@@ -91,4 +91,9 @@ class TimedOut : public FutureException {
   TimedOut() : FutureException("Timed out") {}
 };
 
+class PredicateDoesNotObtain : public FutureException {
+ public:
+  PredicateDoesNotObtain() : FutureException("Predicate does not obtain") {}
+};
+
 }