errutil

package
v0.0.0-...-baa090a Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Error = errors.NewClass("dbx")
)

Functions

func GetContext

func GetContext(src []byte, err error) string

func GetErrorPosition

func GetErrorPosition(err error) *scanner.Position

func New

func New(pos scanner.Position, format string, args ...interface{}) error

func SetErrorPosition

func SetErrorPosition(pos scanner.Position) errors.ErrorOption

Types

This section is empty.

Jump to

Keyboard shortcuts

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