ICU-743/Domain errors internal/kms refactor (#848)

* Domain errors internal/kms refactor

* Update changelog

* Update internal/host error op

* Incorrect error returned in read_writer
This commit is contained in:
Louis Ruch authored and GitHub committed 2021-01-12 08:50:19 -08:00
1 parent 9de928318d
commit 8151b30ce9
68 files changed
+802 -725

No files matched your search

+15
View File
@@ -52,6 +52,11 @@ func TestCode_Both_String_Info(t *testing.T) {
c: EmptyFieldMask,
want: EmptyFieldMask,
},
{
name: "KeyNotFound",
c: KeyNotFound,
want: KeyNotFound,
},
{
name: "PasswordTooShort",
c: PasswordTooShort,
@@ -72,6 +77,16 @@ func TestCode_Both_String_Info(t *testing.T) {
c: PasswordsEqual,
want: PasswordsEqual,
},
{
name: "Encrypt",
c: Encrypt,
want: Encrypt,
},
{
name: "Decrypt",
c: Decrypt,
want: Decrypt,
},
{
name: "CheckConstraint",
c: CheckConstraint,