parser

package module
v0.0.0-...-a2bbe22 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Prefix

func Prefix(err error, prefix string) error

Types

type ErrorStack

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

func NewErrorStack

func NewErrorStack(prefix string) *ErrorStack

func StackFromContext

func StackFromContext(ctx context.Context) *ErrorStack

func StackToContext

func StackToContext(ctx context.Context) (context.Context, *ErrorStack)

func (*ErrorStack) AppendError

func (c *ErrorStack) AppendError(err error)

func (*ErrorStack) Errors

func (c *ErrorStack) Errors() error

func (*ErrorStack) Pop

func (c *ErrorStack) Pop()

func (*ErrorStack) Push

func (c *ErrorStack) Push(i interface{})

func (*ErrorStack) PushMethod

func (c *ErrorStack) PushMethod(index int, field reflect.StructField)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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