multierror

package
v0.0.0-...-0ccc1a6 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package multierror wraps a slice of errors and implements the error interface. This can be used to collect a bunch of errors (such as during form validation) and then return them all together as a single error. To see usage examples refer to the unit tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error []error

func (Error) AsError

func (me Error) AsError() error

func (Error) Error

func (me Error) Error() string

Jump to

Keyboard shortcuts

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