errors

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handle

func Handle(err error, str string)

Handle takes an error and a string writes an error message to os.Stderr.

func New

func New(str string) error

New is a wrapper around errors.New(). Use this to avoid nameclash with the local errors package and the one in the standard library.

Types

This section is empty.

Jump to

Keyboard shortcuts

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