xerrors

command
v0.0.0-...-ea0d58d Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2020 License: MIT Imports: 2 Imported by: 0

README

GO 1.13 xerrors examples

Evolution of error checking

Important

xerrors.Errorf("%q: %w", s, errorFromLevelTwo)

Here the ':' after '%q' is important. If not provided, xerrors fails to identify the error by xerrors.Is()

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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