apollo-backend/internal/domain/errors.go
2021-07-24 16:17:54 -04:00

10 lines
292 B
Go

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")
)