RedisConnectionPoolError

public struct RedisConnectionPoolError : LocalizedError, Equatable

If something goes wrong with any part of the Redis connection pool, errors of this type will be thrown.

  • The connection pool has already been closed, but the user has attempted to perform another operation on it.

    Declaration

    Swift

    public static let poolClosed: RedisConnectionPoolError
  • The timeout for waiting for a connection expired before we got a connection.

    Declaration

    Swift

    public static let timedOutWaitingForConnection: RedisConnectionPoolError
  • The pool has been configured without available connection targets, so there is nowhere to connect to.

    Declaration

    Swift

    public static let noAvailableConnectionTargets: RedisConnectionPoolError