parsererror

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2021 License: MPL-2.0 Imports: 3 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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