This commit is contained in:
greeneclipse committed 2026-08-17 00:39:25 +02:00
1 parent 92f046b542
commit 93dc70123c
54 files changed
+25528 -20666

No files matched your search

+5 -1
View File
@@ -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