From 2ab1e53b4bc15af3319994fdb25bb739b4b8e6db Mon Sep 17 00:00:00 2001 From: bptato Date: Thu, 20 Jun 2024 20:04:14 +0200 Subject: loader: better error handling we no longer crash on broken codecs. yay --- src/loader/connecterror.nim | 1 + 1 file changed, 1 insertion(+) (limited to 'src/loader/connecterror.nim') diff --git a/src/loader/connecterror.nim b/src/loader/connecterror.nim index 08f7b436..c3099b0f 100644 --- a/src/loader/connecterror.nim +++ b/src/loader/connecterror.nim @@ -1,4 +1,5 @@ type ConnectErrorCode* = enum + ERROR_FAILED_TO_REDIRECT = (-17, "failed to redirect request body") ERROR_URL_NOT_IN_CACHE = (-16, "URL was not found in the cache") ERROR_FILE_NOT_IN_CACHE = (-15, "file was not found in the cache") ERROR_FAILED_TO_EXECUTE_CGI_SCRIPT = (-14, "failed to execute CGI script") -- cgit 1.4.1-2-gfad0