errors.gno
0.55 Kb · 12 lines
1package access
2
3const (
4 errSpoofedRealm = "rlm does not match the current crossing frame"
5 errInvalidAddress = "invalid address for role %s: %s"
6 errRoleNotFound = "role %s not found"
7 errUnauthorized = "unauthorized: caller %s is not %s"
8 errUnauthorizedAdminOrGov = "unauthorized: caller %s is not admin or governance"
9 errUnauthorizedAnyRole = "unauthorized: caller %s is not any of the roles %v"
10 errUnauthorizedRBAC = "unauthorized: caller %s is not rbac"
11 errInvalidAddressShort = "invalid address: %s"
12)