text: from flask import render_template
  from . import main
  
  @main.app_errorhandler(404)
  def four_o_four(error):
      """
      Function to render 404 error page
      """
      return render_template('four_o_four.html'), 404
  