guestbook/internal/models/errors.go

12 lines
240 B
Go
Raw Normal View History

package models
import "errors"
2024-11-11 19:55:01 +00:00
var (
ErrNoRecord = errors.New("models: no matching record found")
ErrInvalidCredentials = errors.New("models: invalid credentials")
ErrDuplicateEmail = errors.New("models: duplicate email")
)