diff --git a/chronos/streams/chunkstream.nim b/chronos/streams/chunkstream.nim index a58e4dd..104587e 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