cheroot.errors module¶
Collection of exceptions raised and/or processed by Cheroot.
-
exception
cheroot.errors.FatalSSLAlert¶ Bases:
ExceptionException raised when the SSL implementation signals a fatal alert.
-
exception
cheroot.errors.MaxSizeExceeded¶ Bases:
ExceptionException raised when a client sends more data then acceptable within limit.
Depends on
request.body.maxbytesconfig option if used within CherryPy
-
exception
cheroot.errors.NoSSLError¶ Bases:
ExceptionException raised when a client speaks HTTP to an HTTPS socket.
-
cheroot.errors.plat_specific_errors(*errnames)¶ Return error numbers for all errors in
errnameson this platform.The
errnomodule contains different global constants depending on the specific platform (OS). This function will return the list of numeric values for a given list of potential names.