ICU-738/Refactor internal/db to domain errors (#815)
* Refactor internal/db to domain errors
This commit is contained in:
1 parent
b5d84495a3
commit
bfbb179741
82 files changed
+742
-640
No files matched your search
@@ -52,6 +52,26 @@ func TestCode_Both_String_Info(t *testing.T) {
|
||||
c: EmptyFieldMask,
|
||||
want: EmptyFieldMask,
|
||||
},
|
||||
{
|
||||
name: "PasswordTooShort",
|
||||
c: PasswordTooShort,
|
||||
want: PasswordTooShort,
|
||||
},
|
||||
{
|
||||
name: "PasswordUnsupportedConfiguration",
|
||||
c: PasswordUnsupportedConfiguration,
|
||||
want: PasswordUnsupportedConfiguration,
|
||||
},
|
||||
{
|
||||
name: "PasswordInvalidConfiguration",
|
||||
c: PasswordInvalidConfiguration,
|
||||
want: PasswordInvalidConfiguration,
|
||||
},
|
||||
{
|
||||
name: "PasswordsEqual",
|
||||
c: PasswordsEqual,
|
||||
want: PasswordsEqual,
|
||||
},
|
||||
{
|
||||
name: "CheckConstraint",
|
||||
c: CheckConstraint,
|
||||
@@ -72,6 +92,21 @@ func TestCode_Both_String_Info(t *testing.T) {
|
||||
c: RecordNotFound,
|
||||
want: RecordNotFound,
|
||||
},
|
||||
{
|
||||
name: "ColumnNotFound",
|
||||
c: ColumnNotFound,
|
||||
want: ColumnNotFound,
|
||||
},
|
||||
{
|
||||
name: "MaxRetries",
|
||||
c: MaxRetries,
|
||||
want: MaxRetries,
|
||||
},
|
||||
{
|
||||
name: "Exception",
|
||||
c: Exception,
|
||||
want: Exception,
|
||||
},
|
||||
{
|
||||
name: "MultipleRecords",
|
||||
c: MultipleRecords,
|
||||
|
||||
Reference in new issue
Block a user