errors

package
v0.0.0-...-5655933 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Errorf

func Errorf(format string, args ...interface{}) error

Types

type ErrorList

type ErrorList []*compileError

ErrorList contains a list of compile errors.

func (*ErrorList) Add

func (p *ErrorList) Add(pos *position.Position, msg string)

Add appends an error at a position to the list of errors.

func (*ErrorList) Append

func (p *ErrorList) Append(l ErrorList)

Append puts an ErrorList on the end of this ErrorList.

func (ErrorList) Error

func (p ErrorList) Error() string

ErrorList implements the error interface.

Jump to

Keyboard shortcuts

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