Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidArgument = errors.New("invalid argument") ErrInvalidHeader = errors.New("invalid Header") ErrDataNotFound = errors.New("data not found") ErrEmptyValue = errors.New("empty value") ErrConvertFailed = errors.New("convert failed") ErrEndOfStream = errors.New("end of stream") ErrNoCandidateNode = errors.New("no candidate server node") )
common and framework errors
Functions ¶
func ConvertDfErrorToGRPCError ¶ added in v2.0.9
ConvertDfErrorToGRPCError converts DfError to grpc error, if it is.
func ConvertGRPCErrorToDfError ¶ added in v2.0.9
ConvertGRPCErrorToDfError converts grpc error to DfError, if it exists.
func IsEndOfStream ¶
Types ¶
type DfError ¶
func IsGRPCDfError ¶ added in v2.1.26
Click to show internal directories.
Click to hide internal directories.