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.0.2+incompatible
Published
Jul 8, 2016
Platform
js/wasm
Imports
3 packages
Last checked
2 hours ago

Tools for package owners.