Versions in this module Expand all Collapse all v0 v0.1.1 Aug 23, 2022 v0.1.0 Aug 23, 2022 Changes in this version + func FieldASTsToNodeASTs(fieldASTs []*ast.Field) []ast.Node + type Error struct + Locations []location.SourceLocation + Message string + Nodes []ast.Node + OriginalError error + Path []interface{} + Positions []int + Source *source.Source + Stack string + func NewError(message string, nodes []ast.Node, stack string, source *source.Source, ...) *Error + func NewErrorWithPath(message string, nodes []ast.Node, stack string, source *source.Source, ...) *Error + func NewLocatedError(err interface{}, nodes []ast.Node) *Error + func NewSyntaxError(s *source.Source, position int, description string) *Error + func (g Error) Error() string + type ExtendedError interface + Extensions func() map[string]interface{} + type FormattedError struct + Extensions map[string]interface{} + Locations []location.SourceLocation + Message string + Path []interface{} + func FormatError(err error) FormattedError + func FormatErrors(errs ...error) []FormattedError + func NewFormattedError(message string) FormattedError + func (g FormattedError) Error() string + func (g FormattedError) OriginalError() error + type FormattedErrors []FormattedError + func (errs FormattedErrors) Len() int + func (errs FormattedErrors) Less(i, j int) bool + func (errs FormattedErrors) Swap(i, j int)