Skip to content

Commit

Permalink
use smaller case
Browse files Browse the repository at this point in the history
Signed-off-by: William <[email protected]>
  • Loading branch information
kwesidev committed Apr 12, 2024
1 parent 123f510 commit 9a35169
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions internal/services/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@ package services
import "errors"

var (
ErrUserNameExists = errors.New("The username exists")
ErrSendingMail = errors.New("Failed sending Email")
ErrAccountNotActive = errors.New("Account is not Active")
ErrTokenGeneration = errors.New("Failed to generate Token")
ErrInvalidToken = errors.New("Token is Invalid")
ErrAccessToken = errors.New("Failed to Access Token")
ErrInvalidUsername = errors.New("Invalid Username")
ErrInvalidPassword = errors.New("Invalid Password")
ErrRegistration = errors.New("Failed to register ")
ErrPasswordUpdate = errors.New("Failed to update password")
ErrTwoFactorCode = errors.New("Failed to Verify Two Factor Code")
ErrTwoFactorRequest = errors.New("Failed to Send Two Factor Request")
ErrInvalidCode = errors.New("Code is invalid")
ErrServer = errors.New("Server Error, Try again later")
ErrPassCode = errors.New("Invalid Passcode")
ErrStrongPassword = errors.New("Password must be at least 8 characters and must contain special characters")
ErrTOTPExists = errors.New("TOTP Already Enabled ")
ErrUserNameExists = errors.New("the username exists")
ErrSendingMail = errors.New("failed sending email")
ErrAccountNotActive = errors.New("account is not active")
ErrTokenGeneration = errors.New("failed to generate token")
ErrInvalidToken = errors.New("token is invalid")
ErrAccessToken = errors.New("failed to access token")
ErrInvalidUsername = errors.New("invalid username")
ErrInvalidPassword = errors.New("invalid password")
ErrRegistration = errors.New("failed to register ")
ErrPasswordUpdate = errors.New("failed to update password")
ErrTwoFactorCode = errors.New("failed to verify two factor code")
ErrTwoFactorRequest = errors.New("failed to send two factor request")
ErrInvalidCode = errors.New("code is invalid")
ErrServer = errors.New("server error, try again later")
ErrPassCode = errors.New("invalid Passcode")
ErrStrongPassword = errors.New("password must be at least 8 characters and must contain special characters")
ErrTOTPExists = errors.New("totp already enabled ")
)

0 comments on commit 9a35169

Please sign in to comment.