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

+2 -2
View File
@@ -45,7 +45,7 @@ func TestNewRepository(t *testing.T) {
},
want: nil,
wantErr: true,
wantErrString: "error creating db repository with nil writer",
wantErrString: "kms.NewRepository: nil writer: parameter violation: error #100",
},
{
name: "nil-reader",
@@ -55,7 +55,7 @@ func TestNewRepository(t *testing.T) {
},
want: nil,
wantErr: true,
wantErrString: "error creating db repository with nil reader",
wantErrString: "kms.NewRepository: nil reader: parameter violation: error #100",
},
}
for _, tt := range tests {