errfmt

package
v0.0.0-...-b738e08 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatEvaluationError

func FormatEvaluationError(err *internal.Error, source []byte, path string) error

func FormatLexerErrors

func FormatLexerErrors(err []lexers.LexerError, source []byte, path string) error

func FormatParserErrors

func FormatParserErrors(err []parsers.ParserError, source []byte, path string) error

Types

type Error

type Error struct {
	Category string
	Errors   []errors.Error
	Source   []byte
	Path     string
	Message  string
}

func (*Error) Error

func (e *Error) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL