rhino.errors
class HTTPException
Base class for HTTP Exceptions
Class variables:
message
will be HTML-escaped.
Instance properties:
rhino.Response
instance that will be sent to the client.
The constructor takes one argument, an optional message that will replace the default message. Subclasses can override the constructor to require error-specific arguments.
class Redirection
Base class for redirections (3xx).
class ClientError
Base class for client errors (4xx).
class ServerError
Base class for server errors (5xx).
class MovedPermanently
301 Moved Permanently.
Required arguments:
class Found
302 Found.
Required arguments:
class SeeOther
303 See Other.
Required arguments:
class TemporaryRedirect
307 Temporary Redirect.
Required arguments:
class BadRequest
400 Bad Request.
class Forbidden
403 Forbidden.
class NotFound
404 NotFound.
class MethodNotAllowed
405 Method Not Allowed.
Required arguments:
class NotAcceptable
406 Not Acceptable.
class Gone
410 Gone.
class UnsupportedMediaType
415 Unsupported Media Type.
class InternalServerError
500 Internal Server Error.