def abort(self):
        resp = make_response(render_template('error.html', error=self.code, message=self.message), self.code)
        return resp
Return an HTML Response representation of the exception.
dataset/ETHPy150Open jeffknupp/sandman/sandman/exception.py/InvalidAPIUsage.abort