server/connectionerror

Search:
Group by:

Types

ConnectionError = enum
  ceLoaderGone = -19, ceCookieStreamExists = -18,
  ceCGICachedBodyUnavailable = -17, ceCGIOutputHandleNotFound = -16,
  ceCGIFailedToOpenCacheOutput = -15, ceCGICachedBodyNotFound = -14,
  ceFailedToRedirect = -13, ceURLNotInCache = -12, ceFileNotInCache = -11,
  ceFailedToExecuteCGIScript = -10, ceCGIMalformedHeader = -9,
  ceCGIInvalidChaControl = -8, ceTooManyRewrites = -7,
  ceInvalidURIMethodEntry = -6, ceCGIFileNotFound = -5, ceInvalidCGIPath = -4,
  ceFailedToSetUpCGI = -3, ceDisallowedURL = -2, ceUnknownScheme = -1,
  ceNone = 0, ceInternalError = (1, "InternalError"),
  ceInvalidMethod = (2, "InvalidMethod"), ceInvalidURL = (3, "InvalidURL"),
  ceFileNotFound = (4, "FileNotFound"),
  ceConnectionRefused = (5, "ConnectionRefused"),
  ceProxyRefusedToConnect = (6, "ProxyRefusedToConnect"),
  ceFailedToResolveHost = (7, "FailedToResolveHost"),
  ceFailedToResolveProxy = (8, "FailedToResolveProxy"),
  ceProxyAuthFail = (9, "ProxyAuthFail"),
  ceInvalidResponse = (10, "InvalidResponse"),
  ceProxyInvalidResponse = (11, "ProxyInvalidResponse")

Consts

ErrorMessages = ["loader process crashed", "cookie stream already exists",
                 "request body is not ready in the cache",
                 "request body output handle not found",
                 "failed to open cache output", "cached request body not found",
                 "failed to redirect request body",
                 "URL was not found in the cache",
                 "file was not found in the cache",
                 "failed to execute CGI script",
                 "CGI script returned a malformed header",
                 "CGI got invalid Cha-Control header",
                 "too many URI method map rewrites", "invalid URI method entry",
                 "CGI file not found", "invalid CGI path",
                 "failed to set up CGI script", "url not allowed by filter",
                 "unknown scheme", "connection successful", "internal error",
                 "invalid method", "invalid URL", "file not found",
                 "connection refused", "proxy refused to connect",
                 "failed to resolve host", "failed to resolve proxy",
                 "proxy authentication failed", "received an invalid response",
                 "proxy returned an invalid response"]

Procs

proc getLoaderErrorMessage(code: int): string {....raises: [], tags: [],
    forbids: [].}