diff --git a/chronos/apps/http/httpcommon.nim b/chronos/apps/http/httpcommon.nim index bd2d84fb..59980aa3 100644 --- a/chronos/apps/http/httpcommon.nim +++ b/chronos/apps/http/httpcommon.nim @@ -52,7 +52,7 @@ type HttpResultCode*[T] = Result[T, HttpCode] HttpDefect* = object of Defect - HttpError* = object of CatchableError + HttpError* = object of AsyncError HttpCriticalError* = object of HttpError code*: HttpCode HttpRecoverableError* = object of HttpError