@cached_property
    def wrap_database_errors(self):
        return DatabaseErrorWrapper(self)
Context manager and decorator that re-throws backend-specific database
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/db/backends/__init__.py/BaseDatabaseWrapper.wrap_database_errors