:tocdepth: 3 :py:mod:`gws.base.web.error` ============================ .. py:module:: gws.base.web.error **Source code:** :source:`gws.base.web.error` Module Contents --------------- .. py:data:: BadGateway .. py:data:: BadRequest .. py:data:: Conflict .. py:data:: ExpectationFailed .. py:data:: Forbidden .. py:function:: from_exception(exc: Exception) -> HTTPException Convert generic errors to http errors. .. py:data:: GatewayTimeout .. py:data:: Gone .. py:data:: HTTPException .. py:data:: HTTPVersionNotSupported .. py:data:: ImATeapot .. py:data:: InternalServerError .. py:data:: LengthRequired .. py:data:: Locked .. py:data:: MethodNotAllowed .. py:data:: NotAcceptable .. py:data:: NotFound .. py:data:: NotImplemented .. py:data:: PreconditionFailed .. py:data:: PreconditionRequired .. py:data:: RequestedRangeNotSatisfiable .. py:data:: RequestEntityTooLarge .. py:data:: RequestHeaderFieldsTooLarge .. py:data:: RequestTimeout .. py:data:: RequestURITooLarge .. py:data:: ServiceUnavailable .. py:data:: TooManyRequests .. py:data:: Unauthorized .. py:data:: UnavailableForLegalReasons .. py:data:: UnprocessableEntity .. py:data:: UnsupportedMediaType