Edit: /tmp/tsx-0/17887-7c8e72dc06868417f8b341d947a76a3c2444d5ba (4562B)
{"code":"__filename=\"/opt/canhelp/node_modules/better-auth/node_modules/@better-auth/core/dist/error/codes.mjs\";(()=>{\nvar __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __hasOwnProp=Object.prototype.hasOwnProperty;var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:true})};var __copyProps=(to,from,except,desc)=>{if(from&&typeof from===\"object\"||typeof from===\"function\"){for(let key of __getOwnPropNames(from))if(!__hasOwnProp.call(to,key)&&key!==except)__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable})}return to};var __toCommonJS=mod=>__copyProps(__defProp({},\"__esModule\",{value:true}),mod);var codes_exports={};__export(codes_exports,{BASE_ERROR_CODES:()=>BASE_ERROR_CODES});module.exports=__toCommonJS(codes_exports);var import_error_codes=require(\"../utils/error-codes.mjs\");const BASE_ERROR_CODES=(0,import_error_codes.defineErrorCodes)({USER_NOT_FOUND:\"User not found\",FAILED_TO_CREATE_USER:\"Failed to create user\",FAILED_TO_CREATE_SESSION:\"Failed to create session\",FAILED_TO_UPDATE_USER:\"Failed to update user\",FAILED_TO_GET_SESSION:\"Failed to get session\",INVALID_PASSWORD:\"Invalid password\",INVALID_EMAIL:\"Invalid email\",INVALID_EMAIL_OR_PASSWORD:\"Invalid email or password\",INVALID_USER:\"Invalid user\",SOCIAL_ACCOUNT_ALREADY_LINKED:\"Social account already linked\",PROVIDER_NOT_FOUND:\"Provider not found\",INVALID_TOKEN:\"Invalid token\",TOKEN_EXPIRED:\"Token expired\",ID_TOKEN_NOT_SUPPORTED:\"id_token not supported\",FAILED_TO_GET_USER_INFO:\"Failed to get user info\",USER_EMAIL_NOT_FOUND:\"User email not found\",EMAIL_NOT_VERIFIED:\"Email not verified\",PASSWORD_TOO_SHORT:\"Password too short\",PASSWORD_TOO_LONG:\"Password too long\",USER_ALREADY_EXISTS:\"User already exists.\",USER_ALREADY_EXISTS_USE_ANOTHER_EMAIL:\"User already exists. Use another email.\",EMAIL_CAN_NOT_BE_UPDATED:\"Email can not be updated\",CREDENTIAL_ACCOUNT_NOT_FOUND:\"Credential account not found\",SESSION_EXPIRED:\"Session expired. Re-authenticate to perform this action.\",FAILED_TO_UNLINK_LAST_ACCOUNT:\"You can't unlink your last account\",ACCOUNT_NOT_FOUND:\"Account not found\",USER_ALREADY_HAS_PASSWORD:\"User already has a password. Provide that to delete the account.\",CROSS_SITE_NAVIGATION_LOGIN_BLOCKED:\"Cross-site navigation login blocked. This request appears to be a CSRF attack.\",VERIFICATION_EMAIL_NOT_ENABLED:\"Verification email isn't enabled\",EMAIL_ALREADY_VERIFIED:\"Email is already verified\",EMAIL_MISMATCH:\"Email mismatch\",SESSION_NOT_FRESH:\"Session is not fresh\",LINKED_ACCOUNT_ALREADY_EXISTS:\"Linked account already exists\",INVALID_ORIGIN:\"Invalid origin\",INVALID_CALLBACK_URL:\"Invalid callbackURL\",INVALID_REDIRECT_URL:\"Invalid redirectURL\",INVALID_ERROR_CALLBACK_URL:\"Invalid errorCallbackURL\",INVALID_NEW_USER_CALLBACK_URL:\"Invalid newUserCallbackURL\",MISSING_OR_NULL_ORIGIN:\"Missing or null Origin\",CALLBACK_URL_REQUIRED:\"callbackURL is required\",FAILED_TO_CREATE_VERIFICATION:\"Unable to create verification\",FIELD_NOT_ALLOWED:\"Field not allowed to be set\",ASYNC_VALIDATION_NOT_SUPPORTED:\"Async validation is not supported\",VALIDATION_ERROR:\"Validation Error\",MISSING_FIELD:\"Field is required\",METHOD_NOT_ALLOWED_DEFER_SESSION_REQUIRED:\"POST method requires deferSessionRefresh to be enabled in session config\",BODY_MUST_BE_AN_OBJECT:\"Body must be an object\",PASSWORD_ALREADY_SET:\"User already has a password set\"});0&&(module.exports={BASE_ERROR_CODES});\n})()\n","warnings":[],"map":{"version":3,"mappings":";wpBAAA,uJAAiC,oCAGjC,MAAM,oBAAmB,qCAAiB,CACzC,eAAgB,iBAChB,sBAAuB,wBACvB,yBAA0B,2BAC1B,sBAAuB,wBACvB,sBAAuB,wBACvB,iBAAkB,mBAClB,cAAe,gBACf,0BAA2B,4BAC3B,aAAc,eACd,8BAA+B,gCAC/B,mBAAoB,qBACpB,cAAe,gBACf,cAAe,gBACf,uBAAwB,yBACxB,wBAAyB,0BACzB,qBAAsB,uBACtB,mBAAoB,qBACpB,mBAAoB,qBACpB,kBAAmB,oBACnB,oBAAqB,uBACrB,sCAAuC,0CACvC,yBAA0B,2BAC1B,6BAA8B,+BAC9B,gBAAiB,2DACjB,8BAA+B,qCAC/B,kBAAmB,oBACnB,0BAA2B,mEAC3B,oCAAqC,iFACrC,+BAAgC,mCAChC,uBAAwB,4BACxB,eAAgB,iBAChB,kBAAmB,uBACnB,8BAA+B,gCAC/B,eAAgB,iBAChB,qBAAsB,sBACtB,qBAAsB,sBACtB,2BAA4B,2BAC5B,8BAA+B,6BAC/B,uBAAwB,yBACxB,sBAAuB,0BACvB,8BAA+B,gCAC/B,kBAAmB,8BACnB,+BAAgC,oCAChC,iBAAkB,mBAClB,cAAe,oBACf,0CAA2C,2EAC3C,uBAAwB,yBACxB,qBAAsB,iCACvB,CAAC","names":[],"ignoreList":[],"sources":["/opt/canhelp/node_modules/better-auth/node_modules/@better-auth/core/dist/error/codes.mjs"],"sourcesContent":[null]}}