Rephrase ERROR_CATEGORY_PARENT_NOT_FOUND error in db package
This commit is contained in:
parent
d7786fb50f
commit
6b339e7496
|
@ -17,7 +17,7 @@ type Category struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
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_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")
|
ERROR_CATEGORY_USER_ID_NOT_EQUAL = errors.New("ParentID is invalid for user")
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user