From 616a151764fd1780eb0b6dc039d5a21539a8a01a Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sun, 3 Sep 2023 00:19:03 +0530 Subject: added login with id --- errors/errors.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'errors') diff --git a/errors/errors.go b/errors/errors.go index d52004e..1cae027 100644 --- a/errors/errors.go +++ b/errors/errors.go @@ -36,6 +36,9 @@ var ( ErrPasswordTooShort = errors.New("Password Is Too Short") ErrPasswordTooLong = errors.New("Password Is Too Long") + // 401 + ErrWrongPassword = errors.New("Wrong Password") + // 404 ErrNotFound = errors.New("Not Found") ErrBrandNotFound = errors.New("This Brand Does Not Exist") -- cgit v1.2.3