From e9a64f3b41b5eae47dec7c0ecfd1caae83136abc Mon Sep 17 00:00:00 2001 From: Alexander NeonXP Kiryukhin Date: Sat, 20 Jul 2024 21:56:37 +0300 Subject: initial --- models/errors.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 models/errors.go (limited to 'models/errors.go') diff --git a/models/errors.go b/models/errors.go new file mode 100644 index 0000000..660fe85 --- /dev/null +++ b/models/errors.go @@ -0,0 +1,9 @@ +package models + +import "errors" + +var ( + ErrInvalidUserOrPassword = errors.New("invalid user or password") + ErrUserAlreadyExists = errors.New("user already exists") + ErrInvalidPassword = errors.New("invalid password") +) -- cgit v1.2.3