learn-go/snippetbox/internal/models/errors.go
2024-02-07 15:15:54 -08:00

13 lines
235 B
Go

package models
import (
"errors"
)
var (
ErrNoRecord = errors.New("models: no matching record found")
ErrInvalidCredentials = errors.New("models: invalid credentials")
ErrDuplicateEmail = errors.New("models: duplicate email")
)