def internal_server_error():
    return jsonify(error='internal server error'), 500
It's not possible to register 500 in a blueprint,
dataset/ETHPy150Open joealcorn/PyPaste/PyPaste/views/api/v1/__init__.py/internal_server_error