errors_test.go | |
---|---|
|
|
TestAuthenticationError checks the method Error() for data structure AuthenticationError |
|
expected error value |
|
construct an instance of error interface |
|
check if error value is correct |
|
TestAuthorizationError checks the method Error() for data structure AuthorizationError |
|
expected error value |
|
construct an instance of error interface |
|
check if error value is correct |
|