apollo-backend/internal/domain/errors.go

11 lines
292 B
Go
Raw Normal View History

2021-07-24 20:17:54 +00:00
package domain
import "errors"
var (
// ErrNotFound will be returned if the requested item is not found
ErrNotFound = errors.New("requested item was not found")
// ErrConflict will be returned if the item being persisted already exists
ErrConflict = errors.New("item already exists")
)