Files
athens/pkg/errors/kinds.go
Marwan Sulaiman 90281ccb90 Athens: move storage.NotFound to errors.NotFound (#373)
* Athens: move storage.NotFound to errors.NotFound

* see where things went wrong

* empty means unexpected

* GCP: replace AlreadyExists err

* resolve conflicts

* Errors: change not found name

* fix build
2018-08-01 03:27:16 -04:00

7 lines
139 B
Go

package errors
// IsNotFoundErr helper function for KindNotFound
func IsNotFoundErr(err error) bool {
return Kind(err) == KindNotFound
}