Package errors augments the standard errors
provided by fmt (https://golang.org/src/fmt/errors.go)
with a Wrap() method to wrap errors without resorting
to fmt.Errorf("%w", err).
As finds the first error in err's chain that matches target, and if so, sets target to that error value and returns true.
(a shortcut to standard lib errors.As)