/opt/canhelp/node_modules/better-auth/dist/plugins/username
Edit: /opt/canhelp/node_modules/better-auth/dist/plugins/username/error-codes.mjs (670B)
import { defineErrorCodes } from "@better-auth/core/utils/error-codes";
//#region src/plugins/username/error-codes.ts
const USERNAME_ERROR_CODES = defineErrorCodes({
INVALID_USERNAME_OR_PASSWORD: "Invalid username or password",
EMAIL_NOT_VERIFIED: "Email not verified",
UNEXPECTED_ERROR: "Unexpected error",
USERNAME_IS_ALREADY_TAKEN: "Username is already taken. Please try another.",
USERNAME_TOO_SHORT: "Username is too short",
USERNAME_TOO_LONG: "Username is too long",
INVALID_USERNAME: "Username is invalid",
INVALID_DISPLAY_USERNAME: "Display username is invalid"
});
//#endregion
export { USERNAME_ERROR_CODES };
//# sourceMappingURL=error-codes.mjs.map