Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func CheckErrorIsAcceptable ¶
Breaker:Acceptable checks if given error is acceptable
Types ¶
type PbStatusWrapper ¶
func NewPbStatusWrapper ¶
func NewPbStatusWrapper(code int, errmsg string) *PbStatusWrapper
func TransformError2Codes ¶
func TransformError2Codes(err error) *PbStatusWrapper
https://github.com/grpc/grpc-go/blob/v1.36.1/status/status.go#L81
func (*PbStatusWrapper) GetCode2Int ¶
func (p *PbStatusWrapper) GetCode2Int() int
func (*PbStatusWrapper) GetCode2Uint32 ¶
func (p *PbStatusWrapper) GetCode2Uint32() uint32
Click to show internal directories.
Click to hide internal directories.