errn

package
v0.0.0-...-9b3b26b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrSyntax                 = errors.New("ERR syntax error")
	ErrLenArg                 = errors.New("ERR args len is wrong")
	ErrTxDisable              = errors.New("ERR tx command disable")
	ErrWatchKeyChanged        = errors.New("ERR watch key changed")
	ErrPrepareLockFail        = errors.New("ERR prepare lock fail")
	ErrPrepareLockTimeout     = errors.New("ERR prepare lock timeout")
	ErrTxNotInMaster          = errors.New("ERR tx in slave node")
	ErrMultiNested            = errors.New("ERR MULTI calls can not be nested")
	ErrTxQpsLimit             = errors.New("ERR tx qps too high")
	ErrPrepareNoMulti         = errors.New("ERR PREPARE without MULTI")
	ErrPrepareNested          = errors.New("ERR PREPARE calls can not be nested")
	ErrExecNotPrepared        = errors.New("ERR Exec not prepared")
	ErrDiscardNoMulti         = errors.New("ERR DISCARD without MULTI")
	ErrProtocol               = errors.New("invalid request")
	ErrRaftNotReady           = errors.New("raft is not ready")
	ErrWrongType              = errors.New("WRONGTYPE Operation against a key holding the wrong kind of value")
	ErrKeySize                = errors.New("invalid key size")
	ErrValueSize              = errors.New("invalid value size")
	ErrArgsEmpty              = errors.New("invalid args empty")
	ErrFieldSize              = errors.New("invalid field size")
	ErrExpireValue            = errors.New("invalid expire value")
	ErrZSetScoreRange         = errors.New("invalid zset score range")
	ErrZsetMemberNil          = errors.New("zset member is nil")
	ErrClientQuit             = errors.New("remote client quit")
	ErrSlotIdNotMatch         = errors.New("migrate slotId not match")
	ErrMigrateRunning         = errors.New("migrate running")
	ErrDataType               = errors.New("not support dataType")
	ErrDbSyncFailRefuse       = errors.New("ERR db syncing/fail, refuse request")
	ErrNotImplement           = errors.New("command not implement")
	ErrRangeOffset            = errors.New("ERR offset is out of range")
	ErrValue                  = errors.New("ERR value is not an integer or out of range")
	ErrInvalidRangeItem       = errors.New("ERR min or max not valid string range item")
	ErrBitOffset              = errors.New("ERR bit offset is not an integer or out of range")
	ErrBitValue               = errors.New("ERR bit is not an integer or out of range")
	ErrBitUnmarshal           = errors.New("ERR bitmap unmarshal fail")
	ErrBitMarshal             = errors.New("ERR bitmap marshal fail")
	ErrSlowShield             = errors.New("slow query shield, wait 1s to retry")
	ErrUnbalancedQuotes       = errors.New("ERR unbalanced quotes in request")
	ErrInvalidBulkLength      = errors.New("ERR invalid bulk length")
	ErrInvalidMultiBulkLength = errors.New("ERR invalid multibulk length")
)

Functions

func CmdEmptyErr

func CmdEmptyErr(cmd string) error

func CmdParamsErr

func CmdParamsErr(cmd string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL