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:
1 parent
6b2d6b6462
commit
b39dff8140
5 files changed
+53
-2
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user