github.com/cozy/cozy-stack@v0.0.0-20240603063001-31110fa4cae1/model/contact/errors.go (about) 1 package contact 2 3 import "errors" 4 5 var ( 6 // ErrNoMailAddress is returned when trying to access the email address of 7 // a contact that has no known email address. 8 ErrNoMailAddress = errors.New("The contact has no email address") 9 // ErrNotFound is returned when no contact has been found for a query 10 ErrNotFound = errors.New("No contact has been found") 11 )