errs

package
v0.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2020 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 ErrMissingValue

type ErrMissingValue struct {
	// What is missing
	Kind string

	// Additional info
	Info []string
}

ErrMissingValue is returned if a value is not given

func ErrMissing

func ErrMissing(kind string, info ...string) *ErrMissingValue

ErrMissing creates a "missing" error

func (*ErrMissingValue) Error

func (e *ErrMissingValue) Error() string

Jump to

Keyboard shortcuts

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