aboutsummaryrefslogtreecommitdiff
path: root/internal/db/errors/user.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/db/errors/user.go')
-rw-r--r--internal/db/errors/user.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/internal/db/errors/user.go b/internal/db/errors/user.go
index 54a6ad50..09572af9 100644
--- a/internal/db/errors/user.go
+++ b/internal/db/errors/user.go
@@ -8,17 +8,6 @@ import (
"fmt"
)
-type EmptyName struct{}
-
-func IsEmptyName(err error) bool {
- _, ok := err.(EmptyName)
- return ok
-}
-
-func (err EmptyName) Error() string {
- return "empty name"
-}
-
type UserNotKeyOwner struct {
KeyID int64
}