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