Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnnotateWithInfo

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.

Types

This section is empty.

Source Files