exception

package
v1.0.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exception

type Exception struct {
	Type    Type
	Token   *token.Token
	Message string
}

func Runtime

func Runtime(t *token.Token, format string, args ...interface{}) *Exception

func System

func System(format string, args ...interface{}) *Exception

func (*Exception) Error

func (e *Exception) Error() string

type Type

type Type string
const (
	RuntimeType Type = "RuntimeException"
	SystemType  Type = "SystemException"
)

Jump to

Keyboard shortcuts

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