errors

package
v3.0.0-rc18+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2019 License: Apache-2.0 Imports: 3 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