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:
1 parent
9de928318d
commit
8151b30ce9
68 files changed
+802
-725
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user