From 2ba6e5a41214bad87a9bb8f7bffabb10eaf50090 Mon Sep 17 00:00:00 2001 From: cheatfate Date: Fri, 10 May 2019 09:01:16 +0300 Subject: [PATCH] Fix ChunkedStream error to be derived from CatchableError. --- chronos/streams/chunkstream.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chronos/streams/chunkstream.nim b/chronos/streams/chunkstream.nim index a58e4ddd..104587ea 100644 --- a/chronos/streams/chunkstream.nim +++ b/chronos/streams/chunkstream.nim @@ -22,7 +22,7 @@ type ChunkedStreamWriter* = ref object of AsyncStreamWriter - ChunkedStreamError* = object of Exception + ChunkedStreamError* = object of CatchableError ChunkedStreamTimeoutError* = object of ChunkedStreamError ChunkedStreamProtocolError* = object of ChunkedStreamError