errutil

package
v1.0.0-...-1f0868f Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2019 License: Apache-2.0 Imports: 4 Imported by: 3

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