tcrudge.exceptions module

exception tcrudge.exceptions.HTTPError(status_code=500, log_message=None, *args, **kwargs)

Bases: tornado.web.HTTPError

Custom HTTPError class Expands kwargs with body argument Usage: raise HTTPError(400, b’Something bad happened’)