()
| 61 | } |
| 62 | |
| 63 | func (e errNotExists) Error() string { |
| 64 | return fmt.Sprintf("a %s with id %s doesn't exist", e.entityName, e.id) |
| 65 | } |
| 66 | |
| 67 | func IsNotExists(err error) bool { |
| 68 | return errors.Is(err, errNotExists{}) |
no outgoing calls
no test coverage detected