@app.errorhandler(404)
def page_not_found(e):
    'Return a custom 404 error.'
    return ('Sorry, nothing at this URL.', 404)
Return a custom 404 error.
@app.errorhandler(404)
def page_not_found(e):
    
    return ('Sorry, nothing at this URL.', 404)