Catching Go errors with errors.Is()
3 min readApr 26, 2022
Go error handling
Anyone who has done some development in Go will be familiar with the Go philosophy on error handling and the following pattern:
result, err := myFunc(args)
if err != nil {
// do something
}