diff --git a/db/category.go b/db/category.go index 67f4d24..9b73696 100644 --- a/db/category.go +++ b/db/category.go @@ -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") )