Refactor host_repo -> domain errors (#786)
* Refactor domain errors: New -> E, create helper New and Wrap * Update host repo to use domain errors
This commit is contained in:
1 parent
aa4157639c
commit
ec0020de90
33 files changed
+996
-374
No files matched your search
@@ -32,6 +32,26 @@ func TestCode_Both_String_Info(t *testing.T) {
|
||||
c: InvalidParameter,
|
||||
want: InvalidParameter,
|
||||
},
|
||||
{
|
||||
name: "InvalidAddress",
|
||||
c: InvalidAddress,
|
||||
want: InvalidAddress,
|
||||
},
|
||||
{
|
||||
name: "InvalidPublicId",
|
||||
c: InvalidPublicId,
|
||||
want: InvalidPublicId,
|
||||
},
|
||||
{
|
||||
name: "InvalidFieldMask",
|
||||
c: InvalidFieldMask,
|
||||
want: InvalidFieldMask,
|
||||
},
|
||||
{
|
||||
name: "EmptyFieldMask",
|
||||
c: EmptyFieldMask,
|
||||
want: EmptyFieldMask,
|
||||
},
|
||||
{
|
||||
name: "CheckConstraint",
|
||||
c: CheckConstraint,
|
||||
|
||||
Reference in new issue
Block a user