error

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrCMDNotSupport   = errors.New("command is not support")
	ErrMarshalFailed   = errors.New("request marshal has failed")
	ErrInvalidValue    = errors.New("value is invalid")
	ErrShardNotExisted = errors.New("shard is not existed")
	ErrDispatchFailed  = errors.New("dispatch raft query failed")
	ErrKeyNotExisted   = errors.New("request key is not existed")
	ErrStartupTimeout  = errors.New("driver startup timeout")
	ErrStartupFailed   = errors.New("driver startup failed")
)

Functions

func ErrorResp

func ErrorResp(err error, infos ...string) []byte

ErrorResp transforms the error into []byte fomat

Types

This section is empty.

Jump to

Keyboard shortcuts

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