From a9ed7e4f3fda41f0649e9e0fe21ab00c03ec368f Mon Sep 17 00:00:00 2001 From: Zahary Karadjov Date: Tue, 18 Feb 2020 00:34:57 +0200 Subject: [PATCH] FutureDefect is a type of Defect --- chronos/asyncfutures2.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chronos/asyncfutures2.nim b/chronos/asyncfutures2.nim index 16d1b73..1d80679 100644 --- a/chronos/asyncfutures2.nim +++ b/chronos/asyncfutures2.nim @@ -53,7 +53,7 @@ type FutureVar*[T] = distinct Future[T] - FutureDefect* = object of Exception + FutureDefect* = object of Defect cause*: FutureBase FutureError* = object of CatchableError