Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnnotateWithInfo ¶ added in v1.26.0
func AnnotateWithInfo(status *yarpcerrors.Status, format string, args ...interface{}) *yarpcerrors.Status
AnnotateWithInfo will take an error and add info to it's error message while keeping the same status code.
func NewWithNamef ¶
func NewWithNamef(code yarpcerrors.Code, name string, format string, args ...interface{}) *yarpcerrors.Status
NewWithNamef calls yarpcerrors.Newf and WithName on the resulting Status.
This is put in a separate package so that we can ignore this specific file with staticcheck and existing transports can still use this logic, as WithName is deprecated but we still want to handle name behavior for backwards compatibility.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.