errors.gno
0.56 Kb ยท 12 lines
1package accesscontrol
2
3import "errors"
4
5var (
6 ErrNotMatchAccount = errors.New("accesscontrol: caller confirmation does not match account")
7 ErrRoleSameName = errors.New("accesscontrol: role already exists with the same name")
8 ErrRoleNotFound = errors.New("accesscontrol: role not found")
9 ErrAccountNotRole = errors.New("accesscontrol: this account does not have the role")
10 ErrNameRole = errors.New("accesscontrol: role name cannot be empty or exceed 30 characters")
11 ErrNotOwner = errors.New("accesscontrol: caller is not the owner of the role")
12)