UNPKG

better-auth

Version:

The most comprehensive authentication framework for TypeScript.

10 lines (9 loc) 317 B
import { defineErrorCodes } from "@better-auth/core/utils/error-codes"; //#region src/plugins/email-otp/error-codes.ts const EMAIL_OTP_ERROR_CODES = defineErrorCodes({ OTP_EXPIRED: "OTP expired", INVALID_OTP: "Invalid OTP", TOO_MANY_ATTEMPTS: "Too many attempts" }); //#endregion export { EMAIL_OTP_ERROR_CODES };