wire_errors

package
v0.0.0-...-e603270 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EndOfExtent                = errors.New("EndOfExtent")
	VersionLow                 = errors.New("extent version too low")
	NotLeader                  = errors.New("not a leader")
	LockedByOther              = errors.New("LockedByOther")
	ClientStreamVersionTooHigh = errors.New("client's version is too high, bugon")
	NotFound                   = errors.New("NotFound")
)

Functions

func ConvertToPBCode

func ConvertToPBCode(err error) (pb.Code, string)

func FromPBCode

func FromPBCode(code pb.Code, des 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