consul/acl
Frank Schröder a3934c263c acl: consolidate error handling (#3401)
The error handling of the ACL code relies on the presence of certain
magic error messages. Since the error values are sent via RPC between
older and newer consul agents we cannot just replace the magic values
with typed errors and switch to type checks since this would break
compatibility with older clients.

Therefore, this patch moves all magic ACL error messages into the acl
package and provides default error values and helper functions which
determine the type of error.
2017-08-23 16:52:48 +02:00
..
acl.go Adds support to the ACL package for agent policies. 2016-12-14 07:07:41 -08:00
acl_test.go fix UnitTest in acl 2017-08-09 14:21:21 +08:00
cache.go Switches all ACL caches to 2Q. 2016-08-09 11:00:22 -07:00
cache_test.go Switches all ACL caches to 2Q. 2016-08-09 11:00:22 -07:00
errors.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
policy.go Adds support to the ACL package for agent policies. 2016-12-14 07:07:41 -08:00
policy_test.go Adds support to the ACL package for agent policies. 2016-12-14 07:07:41 -08:00