/opt/canhelp/node_modules/better-auth/dist/plugins/captcha
Edit: /opt/canhelp/node_modules/better-auth/dist/plugins/captcha/error-codes.mjs (565B)
import { defineErrorCodes } from "@better-auth/core/utils/error-codes";
//#region src/plugins/captcha/error-codes.ts
const EXTERNAL_ERROR_CODES = defineErrorCodes({
VERIFICATION_FAILED: "Captcha verification failed",
MISSING_RESPONSE: "Missing CAPTCHA response",
UNKNOWN_ERROR: "Something went wrong"
});
const INTERNAL_ERROR_CODES = defineErrorCodes({
MISSING_SECRET_KEY: "Missing secret key",
SERVICE_UNAVAILABLE: "CAPTCHA service unavailable"
});
//#endregion
export { EXTERNAL_ERROR_CODES, INTERNAL_ERROR_CODES };
//# sourceMappingURL=error-codes.mjs.map