xerr

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: MIT Imports: 2 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MultiErrFrom

func MultiErrFrom(msg string, errs ...error) error

func MultiErrOrderedFrom added in v0.0.2

func MultiErrOrderedFrom(msg string, errs ...error) error

func MultiErrWithIndentFrom

func MultiErrWithIndentFrom(msg, indent string, errs ...error) error

Types

type MultiErr

type MultiErr struct {
	Errors []error
	Msg    string
	Indent string
}

func (MultiErr) Error

func (err MultiErr) Error() string

func (MultiErr) Unwrap

func (err MultiErr) Unwrap() []error

Jump to

Keyboard shortcuts

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