code: def abort(self):
          
          resp = make_response(render_template('error.html', error=self.code, message=self.message), self.code)
          return resp
docs: Return an HTML Response representation of the exception.