A Peek at Better Go Error Handling with xerrors — xerrors implements functions to manipulate errors and is to be largely included in Go 1.13’s errors package, so get a taste of the future today.
Appears in lists (1)
More like this (3)
Understanding Package Visibility in Go — How to share code between packages while also protecting the...
Creating Custom Errors in Go — Sometimes errors.New and fmt.Errorf aren’t quite enough for communicating complicated...