package errors

import "github.com/go-redis/redis/internal/errors"

Index

Constants

const Nil = RedisError("redis: nil")

Functions

func IsBadConn

func IsBadConn(err error, allowTimeout bool) bool

func IsInternal

func IsInternal(err error) bool

func IsMoved

func IsMoved(err error) (moved bool, ask bool, addr string)

func IsNetwork

func IsNetwork(err error) bool

func IsRetryable

func IsRetryable(err error) bool

Types

type RedisError

type RedisError string

func (RedisError) Error

func (e RedisError) Error() string

Source Files

errors.go

Version
v4.2.1+incompatible
Published
Oct 2, 2016
Platform
darwin/amd64
Imports
3 packages
Last checked
2 hours ago

Tools for package owners.