ggerr

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewError

func NewError(l common.Location, err error) error

Types

type Error

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

func (*Error) Error

func (e *Error) Error() string

func (*Error) Location

func (e *Error) Location() (string, int, int)

type MultiError

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

func NewMultiError

func NewMultiError() *MultiError

func (*MultiError) Error

func (e *MultiError) Error() string

func (*MultiError) Get

func (e *MultiError) Get() []error

func (*MultiError) Has

func (e *MultiError) Has() bool

func (*MultiError) Push

func (e *MultiError) Push(err error)

func (*MultiError) PushAll

func (e *MultiError) PushAll(errs *MultiError)

func (*MultiError) PushLocation

func (e *MultiError) PushLocation(l common.Location, err error)

Jump to

Keyboard shortcuts

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