about summary refs log tree commit diff stats
path: root/src/loader/connecterror.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-12-21 18:19:44 +0100
committerbptato <nincsnevem662@gmail.com>2023-12-21 18:19:44 +0100
commitaad2c9860410cdbe0a80b48aba74437994cfd3e1 (patch)
tree3147d451b902e5e68e37914c34391a46db3933e8 /src/loader/connecterror.nim
parent98fd959625c2f9227066fdd43590af12c8f40e91 (diff)
downloadchawan-aad2c9860410cdbe0a80b48aba74437994cfd3e1.tar.gz
cgi: return ConnectionError when script is not executable
Diffstat (limited to 'src/loader/connecterror.nim')
-rw-r--r--src/loader/connecterror.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/loader/connecterror.nim b/src/loader/connecterror.nim
index acd4a28f..1b529128 100644
--- a/src/loader/connecterror.nim
+++ b/src/loader/connecterror.nim
@@ -1,4 +1,5 @@
 type ConnectErrorCode* = enum
+  ERROR_FAILED_TO_EXECUTE_CGI_SCRIPT = (-14, "failed to execute CGI script")
   ERROR_CGI_NO_DATA = (-13, "CGI script returned no data")
   ERROR_CGI_MALFORMED_HEADER = (-12, "CGI script returned a malformed header")
   ERROR_CGI_INVALID_CHA_CONTROL = (-11, "CGI got invalid Cha-Control header")