def register_error_handlers(app):
    app.register_error_handler(404, not_found)
    app.register_error_handler(500, internal_server_error)
Build an AttributeInfo out of a subset or dataset
dataset/ETHPy150Open rehandalal/buchner/buchner/project-template/PROJECTMODULE/errors.py/register_error_handlers--crossover with--dataset/ETHPy150Open glue-viz/glue/glue/viewers/custom/qt/custom_viewer.py/AttributeInfo.from_layer