Errors: add Code and Kind for external system errors (#1080)
This commit is contained in:
1 parent
77497ccd12
commit
d3146992f1
5 files changed
+20
-1
No files matched your search
@@ -222,6 +222,11 @@ func TestCode_Both_String_Info(t *testing.T) {
|
||||
c: MigrationLock,
|
||||
want: MigrationLock,
|
||||
},
|
||||
{
|
||||
name: "Unavailable",
|
||||
c: Unavailable,
|
||||
want: Unavailable,
|
||||
},
|
||||
}
|
||||
for _, tt := range tests {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
|
||||
Reference in new issue
Block a user