package errors
import "github.com/go-redis/redis/internal/errors"
Index ¶
- Constants
- func IsBadConn(err error, allowTimeout bool) bool
- func IsInternal(err error) bool
- func IsMoved(err error) (moved bool, ask bool, addr string)
- func IsNetwork(err error) bool
- func IsRetryable(err error) bool
- type RedisError
Constants ¶
const Nil = RedisError("redis: nil")
Functions ¶
func IsBadConn ¶
func IsInternal ¶
func IsMoved ¶
func IsNetwork ¶
func IsRetryable ¶
Types ¶
type RedisError ¶
type RedisError string
func (RedisError) Error ¶
func (e RedisError) Error() string
Source Files ¶
- Version
- v4.2.1+incompatible
- Published
- Oct 2, 2016
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 2 hours ago –
Tools for package owners.