errors

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SliceError

type SliceError []error

SliceError is returned by many of the processes here. It represents a list of errors. Since concurrency is involved with running multiple tasks at once, it is quite possible that multiple failures may occur simultaneously. This error implementation collects these errors into a super-error.

func (SliceError) Error

func (e SliceError) Error() string

Error returns all the errors inside it as a string.

func (SliceError) Unwrap

func (e SliceError) Unwrap() []error

Unwrap returns all the inner errors.

Jump to

Keyboard shortcuts

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