toolbelt

package module
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: MIT Imports: 2 Imported by: 0

README

toolbelt Go Reference

A collection of miscellaneous tools to handle everyday tasks.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrJoin

func ErrJoin(errs ...error) error

func ErrJoinCustom

func ErrJoinCustom(sep string, errs ...error) error

Types

type ErrMultiple

type ErrMultiple struct {
	Errors    []error
	Separator string
}

func NewErrMultiple

func NewErrMultiple(errs ...error) *ErrMultiple

func NewErrMultipleCustom

func NewErrMultipleCustom(sep string, errs ...error) *ErrMultiple

func (*ErrMultiple) Add

func (e *ErrMultiple) Add(err error)

func (*ErrMultiple) Addf

func (e *ErrMultiple) Addf(msg string, args ...any)

func (*ErrMultiple) Error

func (e *ErrMultiple) Error() string

func (*ErrMultiple) First

func (e *ErrMultiple) First() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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