fix
This commit is contained in:
@@ -34,7 +34,11 @@ func ClientError(err error) (msg string, ok bool) {
|
||||
errors.Is(err, ErrEmailRequired),
|
||||
errors.Is(err, ErrSyntheticEmail),
|
||||
errors.Is(err, ErrNotEligibleSetPassword),
|
||||
errors.Is(err, ErrEmailMismatch):
|
||||
errors.Is(err, ErrEmailMismatch),
|
||||
errors.Is(err, ErrNotCompanyOwner),
|
||||
errors.Is(err, ErrCannotRemoveOwner),
|
||||
errors.Is(err, ErrTransferSelf),
|
||||
errors.Is(err, ErrOwnerRequired):
|
||||
return err.Error(), true
|
||||
default:
|
||||
return "", false
|
||||
|
||||
Reference in New Issue
Block a user