# -*- coding: utf-8 -*-
"""
Created on Mon Nov  2 17:42:24 2020

@author: udaykiran.patnaik
"""

from flask import Blueprint, render_template

errors = Blueprint('errors', __name__)

@errors.app_errorhandler(404)    
def error_404(error):
    return render_template('errors/404.html'), 404

@errors.app_errorhandler(403)    
def error_403(error):
    return render_template('errors/403.html'), 403

@errors.app_errorhandler(500)    
def error_500(error):
    return render_template('errors/500.html'), 500
    
bb8a07f04181c1302b71ef0f22b979cdd1026d10
<mask token>


@errors.app_errorhandler(404)
def error_404(error):
    return render_template('errors/404.html'), 404


@errors.app_errorhandler(403)
def error_403(error):
    return render_template('errors/403.html'), 403


<mask token>

<mask token>


@errors.app_errorhandler(404)
def error_404(error):
    return render_template('errors/404.html'), 404


@errors.app_errorhandler(403)
def error_403(error):
    return render_template('errors/403.html'), 403


@errors.app_errorhandler(500)
def error_500(error):
    return render_template('errors/500.html'), 500

<mask token>
errors = Blueprint('errors', __name__)


@errors.app_errorhandler(404)
def error_404(error):
    return render_template('errors/404.html'), 404


@errors.app_errorhandler(403)
def error_403(error):
    return render_template('errors/403.html'), 403


@errors.app_errorhandler(500)
def error_500(error):
    return render_template('errors/500.html'), 500

<mask token>
from flask import Blueprint, render_template
errors = Blueprint('errors', __name__)


@errors.app_errorhandler(404)
def error_404(error):
    return render_template('errors/404.html'), 404


@errors.app_errorhandler(403)
def error_403(error):
    return render_template('errors/403.html'), 403


@errors.app_errorhandler(500)
def error_500(error):
    return render_template('errors/500.html'), 500

# -*- coding: utf-8 -*-
"""
Created on Mon Nov  2 17:42:24 2020

@author: udaykiran.patnaik
"""

from flask import Blueprint, render_template

errors = Blueprint('errors', __name__)

@errors.app_errorhandler(404)    
def error_404(error):
    return render_template('errors/404.html'), 404

@errors.app_errorhandler(403)    
def error_403(error):
    return render_template('errors/403.html'), 403

@errors.app_errorhandler(500)    
def error_500(error):
    return render_template('errors/500.html'), 500
    