parsererror

package
v0.56.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2021 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInternal = errors.New("internal error")
	ErrBasic    = errors.New("parsing error")
)

Functions

This section is empty.

Types

type Rich added in v0.33.0

type Rich struct {
	// contains filtered or unexported fields
}

func NewRich added in v0.33.0

func NewRich(line, column int, format string, args ...interface{}) *Rich

func (*Rich) Column added in v0.33.0

func (rich *Rich) Column() int

func (*Rich) Config added in v0.33.0

func (rich *Rich) Config() string

func (*Rich) ContextLines added in v0.33.0

func (rich *Rich) ContextLines() string

func (*Rich) Enrich added in v0.33.0

func (rich *Rich) Enrich(config string)

func (*Rich) Error added in v0.33.0

func (rich *Rich) Error() string

func (*Rich) Line added in v0.33.0

func (rich *Rich) Line() int

func (*Rich) Message added in v0.33.0

func (rich *Rich) Message() string

Jump to

Keyboard shortcuts

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