rerror

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package rerror implements functions to errors.

Index

Constants

View Source
const (
	FoundErrors        = "Found Errors:"
	ErrorLine          = "%s [Line %d:%d]: %s"
	ParseErrors        = "Parse Errors: "
	Parse       TError = "Parse Error"
	Runtime     TError = "Runtime Error"
)

Variables

This section is empty.

Functions

func ClearErrors

func ClearErrors()

func Error

func Error(terror TError, location token.Position, msg string)

func ErrorFmt

func ErrorFmt(msg string, a ...interface{}) error

func GetErrors

func GetErrors() []string

func HasErrors

func HasErrors() bool

func PrintErrors

func PrintErrors()

Types

type TError

type TError string

Jump to

Keyboard shortcuts

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