thrower

package
v0.0.0-...-4763a2a Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Thrower

type Thrower struct {
	Owner interface{} `json:"owner"`
	Color util.Color  `json:"color"`
}

func (*Thrower) GetCallstack

func (thrower *Thrower) GetCallstack(c interface{}) string

func (*Thrower) GetSnippet

func (thrower *Thrower) GetSnippet(position ast.Position) string

func (*Thrower) Throw

func (thrower *Thrower) Throw(message string, position ast.Position, callstack interface{})

func (*Thrower) ThrowAnonymous

func (thrower *Thrower) ThrowAnonymous(message string)

func (*Thrower) Warn

func (thrower *Thrower) Warn(message string, position ast.Position, callstack interface{})

func (*Thrower) WarnAnonymous

func (thrower *Thrower) WarnAnonymous(message string)

Jump to

Keyboard shortcuts

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