util

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Errors

type Errors []error

Errors implements error and contains all config errors This is returned by Config.Validate

func Flatten

func Flatten(errors Errors) Errors

Flatten recursively flattens any Errors to a single top level Errors

func NewErrors

func NewErrors(errors []error) Errors

NewErrors returns a new Errors from a slice of error

func (Errors) Error

func (e Errors) Error() string

Error implements the error interface

func (Errors) Errors

func (e Errors) Errors() []error

Errors returns the slice of errors contained by Errors

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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