Rephrase ERROR_CATEGORY_PARENT_NOT_FOUND error in db package

This commit is contained in:
qowevisa 2024-10-31 23:05:18 +02:00
parent d7786fb50f
commit 6b339e7496

View File

@ -17,7 +17,7 @@ type Category struct {
}
var (
ERROR_CATEGORY_PARENT_NOT_FOUND = errors.New("ParentID is invalid for user")
ERROR_CATEGORY_PARENT_NOT_FOUND = errors.New("Can't find Category with ParentID for user")
ERROR_CATEGORY_NAME_NOT_UNIQUE = errors.New("Name for Category have to be unique for user")
ERROR_CATEGORY_USER_ID_NOT_EQUAL = errors.New("ParentID is invalid for user")
)