Versions in this module Expand all Collapse all v1 v1.9.10 Feb 20, 2023 v1.9.9 Feb 20, 2023 Changes in this version + var ErrDecodeRequiredPointerType = xerrors.New("required pointer type value") + func ErrSyntax(msg string, tk *token.Token) *syntaxError + func Wrapf(err error, msg string, args ...interface{}) error + type FormatErrorPrinter struct + Colored bool + InclSource bool + type PrettyPrinter interface + PrettyPrint func(xerrors.Printer, bool, bool) error + type Sink struct + func (es *Sink) Detail() bool + func (es *Sink) Print(args ...interface{}) + func (es *Sink) Printf(f string, args ...interface{}) + type TypeError struct + DstType reflect.Type + SrcType reflect.Type + StructFieldName *string + Token *token.Token + func (e *TypeError) Error() string + func (e *TypeError) FormatError(p xerrors.Printer) error + func (e *TypeError) PrettyPrint(p xerrors.Printer, colored, inclSource bool) error