package
1.0.0
Repository: https://github.com/segmentio/errors-go.git
Documentation: pkg.go.dev

# Functions

New constructs an error from a HTTP response.
Wrap is similar to New but takes an extra error argument so it can be used on the returned values from functions like http.Get or http.(*Client).Do.