New error codes. (#1019)

* new error codes

* Add general system errors to API interceptor

Co-authored-by: Louis Ruch <louisruch@gmail.com>
This commit is contained in:
JimandLouis Ruch authored and GitHub committed 2021-03-20 06:52:47 -04:00
1 parent 6b2d6b6462
commit b39dff8140
5 files changed
+53 -2

No files matched your search

+10
View File
@@ -97,6 +97,16 @@ func TestCode_Both_String_Info(t *testing.T) {
c: TooShort,
want: TooShort,
},
{
name: "InternalError",
c: Internal,
want: Internal,
},
{
name: "Forbidden",
c: Forbidden,
want: Forbidden,
},
{
name: "PasswordTooShort",
c: PasswordTooShort,