'Context manager and decorator that re-throws backend-specific database
exceptions using Django\'s common wrappers.'

@cached_property
def wrap_database_errors(self):

    return DatabaseErrorWrapper(self)
