exception cubicweb.web.DirectResponse(response)[source]#

Used to supply a twitted HTTP Response directly

exception cubicweb.web.InvalidSession[source]#

raised when a session id is found but associated session is not found or invalid

exception cubicweb.web.PublishException(*args, **kwargs)[source]#

base class for publishing related exception

exception cubicweb.web.LogOut(url=None)[source]#

raised to ask for deauthentication of a logged in user

exception cubicweb.web.Redirect(location, status=HTTPStatus.SEE_OTHER)[source]#

raised to redirect the http request

exception cubicweb.web.StatusResponse(status, content='')[source]#
exception cubicweb.web.RequestError(*args, **kwargs)[source]#

raised when a request can’t be served because of a bad input

exception cubicweb.web.NothingToEdit(*args, **kwargs)[source]#

raised when an edit request doesn’t specify any eid to edit

exception cubicweb.web.ProcessFormError(*args, **kwargs)[source]#

raised when posted data can’t be processed by the corresponding field

exception cubicweb.web.NotFound(*args, **kwargs)[source]#

raised when something was not found. In most case, a 404 error should be returned

exception cubicweb.web.RemoteCallFailed(reason='', status=HTTPStatus.INTERNAL_SERVER_ERROR)[source]#

raised when a json remote call fails