def copy_exception(exc, backend=None):
    backend = backend or exc.backend
    new = exc.__class__(*exc.args, tried=exc.tried, backend=backend, chain=exc.chain)
    if hasattr(exc, 'template_debug'):
        new.template_debug = exc.template_debug
    return new
List of column names.
dataset/ETHPy150Open django/django/django/template/backends/django.py/copy_exception--crossover with--dataset/ETHPy150Open kwikteam/phy/phy/gui/widgets.py/Table.column_names