(err error)
| 15 | ) |
| 16 | |
| 17 | func IsObjectNotFound(err error) bool { |
| 18 | return errors.Is(pkgerr.Cause(err), ObjectNotFound) |
| 19 | } |
| 20 | |
| 21 | func IsObjectAlreadyExists(err error) bool { |
| 22 | return errors.Is(pkgerr.Cause(err), ObjectAlreadyExists) |
no outgoing calls