errors

package
v1.0.0-early-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeError

func MakeError(code, why string, line, char, e int) string

MakeError makes a parsing error

func TestERR

func TestERR(r interface{})

TestERR is for testing

func TestVMERR

func TestVMERR(r interface{})

TestVMERR is for testing

Types

type PARSINGERROR

type PARSINGERROR byte

Type of Parsing Error

type VMERROR

type VMERROR struct {
	Message string
	Line    int
}

Type of VM Error

func MakeVMError

func MakeVMError(why string, l int) *VMERROR

MakeVMError makes a VM error

Jump to

Keyboard shortcuts

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