def get_redis_error_classes():
 from redis import exceptions
 if hasattr(exceptions, u'InvalidData'):
  DataError = exceptions.InvalidData
 else:
  DataError = exceptions.DataError
 return error_classes_t((virtual.Transport.connection_errors + (InconsistencyError, socket.error, IOError, OSError, exceptions.ConnectionError, exceptions.AuthenticationError, exceptions.TimeoutError)), (virtual.Transport.channel_errors + (DataError, exceptions.InvalidResponse, exceptions.ResponseError)))

def get_redis_error_classes ( ) : from redis import exceptions if hasattr ( exceptions , u'InvalidData' ) : DataError = exceptions . InvalidData else : DataError = exceptions . DataError return error_classes_t ( ( virtual . Transport . connection_errors + ( InconsistencyError , socket . error , IOError , OSError , exceptions . ConnectionError , exceptions . AuthenticationError , exceptions . TimeoutError ) ) , ( virtual . Transport . channel_errors + ( DataError , exceptions . InvalidResponse , exceptions . ResponseError ) ) )
return tuple of redis error classes .