diff --git a/internal/data/models.go b/internal/data/models.go index 439f1ec..5fdfd8e 100644 --- a/internal/data/models.go +++ b/internal/data/models.go @@ -6,11 +6,12 @@ import ( ) var ( - ErrRecordNotFound = errors.New("record not found") - ErrChannelRecordAlreadyExists = errors.New("channel already in database") - ErrEditConflict = errors.New("edit conflict") - ErrCommandRecordAlreadyExists = errors.New("command already exists") - ErrUserAlreadyExists = errors.New("user already in database") + ErrRecordNotFound = errors.New("record not found") + ErrChannelRecordAlreadyExists = errors.New("channel already in database") + ErrEditConflict = errors.New("edit conflict") + ErrCommandRecordAlreadyExists = errors.New("command already exists") + ErrLastFMUserRecordAlreadyExists = errors.New("lastfm connection already set") + ErrUserAlreadyExists = errors.New("user already in database") ) // struct Models wraps the models, making them callable