better-auth
Version:
The most comprehensive authentication framework for TypeScript.
14 lines • 670 B
text/typescript
//#region src/plugins/username/error-codes.d.ts
declare const USERNAME_ERROR_CODES: {
readonly INVALID_USERNAME_OR_PASSWORD: "Invalid username or password";
readonly EMAIL_NOT_VERIFIED: "Email not verified";
readonly UNEXPECTED_ERROR: "Unexpected error";
readonly USERNAME_IS_ALREADY_TAKEN: "Username is already taken. Please try another.";
readonly USERNAME_TOO_SHORT: "Username is too short";
readonly USERNAME_TOO_LONG: "Username is too long";
readonly INVALID_USERNAME: "Username is invalid";
readonly INVALID_DISPLAY_USERNAME: "Display username is invalid";
};
//#endregion
export { USERNAME_ERROR_CODES };
//# sourceMappingURL=error-codes.d.mts.map