Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertContextStatus ¶
ConvertContextStatus checks whether error is a context-related gRPC status. If so, corresponding context error is returned. Otherwise, err is returned.
func IsUnavailable ¶
IsUnavailable checks whether err corresponds to UNAVAILABLE gRPC status.
Types ¶
type MemBufferSliceError ¶
type MemBufferSliceError mem.BufferSlice
MemBufferSliceError allows to pass mem.BufferSlice as error.
func (MemBufferSliceError) Error ¶
func (MemBufferSliceError) Error() string
Error implements built-in [error] interface.
Click to show internal directories.
Click to hide internal directories.