Versions in this module Expand all Collapse all v2 v2.0.0 Sep 25, 2024 Changes in this version + type Error struct + Err error + Extensions map[string]interface{} + Locations []Location + Message string + Path ast.Path + Rule string + func ErrorLocf(file string, line int, col int, message string, args ...interface{}) *Error + func ErrorPathf(path ast.Path, message string, args ...interface{}) *Error + func ErrorPosf(pos *ast.Position, message string, args ...interface{}) *Error + func Errorf(message string, args ...interface{}) *Error + func Wrap(err error) *Error + func WrapIfUnwrapped(err error) *Error + func WrapPath(path ast.Path, err error) *Error + func (err *Error) AsError() error + func (err *Error) Error() string + func (err *Error) SetFile(file string) + func (err *Error) Unwrap() error + type List []*Error + func (errs List) As(target interface{}) bool + func (errs List) Error() string + func (errs List) Is(target error) bool + func (errs List) Unwrap() []error + type Location struct + Column int + Line int