multierr

package
v0.0.0-...-1c0f521 Latest Latest
Warning

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

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

Documentation

Overview

multierr is a reimplementation of https://github.com/uber-go/multierr/ with a much simpler API and zero dependencies. It is designed for internal use only.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Join

func Join(errs ...error) error

Join combines multiple errors into a single error that contains all of their messages, separated with newlines. Any <nil> errors will be excluded. If all the errors are <nil>, a <nil> error is returned.

The resulting error implements Error(), Is(), As(), and Unwrap()

Types

This section is empty.

Jump to

Keyboard shortcuts

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