blob: 9b514e9e304eb23f44a06250aae011dfd3cff185 (
plain) (
tree)
|
|
package models
import "errors"
var (
ErrInvalidUserOrPassword = errors.New("invalid user or password")
ErrUserAlreadyExists = errors.New("user already exists")
ErrInvalidPassword = errors.New("invalid password")
ErrTopicNotFound = errors.New("topic not found")
ErrPostNotFound = errors.New("post not found")
ErrUserNotFound = errors.New("user not found")
ErrDBNotInitialized = errors.New("db is not initialized")
)
|