errors

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CommitGroup    = "Commits"
	FilesDiffGroup = "Changes"
)

Variables

This section is empty.

Functions

func Add

func Add(current, newErr error, dirs ...string) error

func Len

func Len(err error) int

func New

func New(e string) error

func Prefix

func Prefix(err error, dirs ...string) error

func StrToPathPrefix

func StrToPathPrefix(s string) string

Types

type Node

type Node struct {
	Name     string
	Groups   []Node
	Messages []string
}

type OutputTree

type OutputTree []Node

func PrepareOutput

func PrepareOutput(err error) OutputTree

Jump to

Keyboard shortcuts

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