Errors: add Code and Kind for external system errors (#1080)

This commit is contained in:
Michael Gaffney authored and GitHub committed 2021-04-07 14:50:00 -04:00
1 parent 77497ccd12
commit d3146992f1
5 files changed
+20 -1

No files matched your search

+5
View File
@@ -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) {