better-auth
Version:
The most comprehensive authentication framework for TypeScript.
1 lines • 897 B
Source Map (JSON)
{"version":3,"file":"error-codes.mjs","names":[],"sources":["../../../src/plugins/anonymous/error-codes.ts"],"sourcesContent":["import { defineErrorCodes } from \"@better-auth/core/utils\";\n\nexport const ANONYMOUS_ERROR_CODES = defineErrorCodes({\n\tINVALID_EMAIL_FORMAT: \"Email was not generated in a valid format\",\n\tFAILED_TO_CREATE_USER: \"Failed to create user\",\n\tCOULD_NOT_CREATE_SESSION: \"Could not create session\",\n\tANONYMOUS_USERS_CANNOT_SIGN_IN_AGAIN_ANONYMOUSLY:\n\t\t\"Anonymous users cannot sign in again anonymously\",\n\tFAILED_TO_DELETE_ANONYMOUS_USER: \"Failed to delete anonymous user\",\n\tUSER_IS_NOT_ANONYMOUS: \"User is not anonymous\",\n\tDELETE_ANONYMOUS_USER_DISABLED: \"Deleting anonymous users is disabled\",\n});\n"],"mappings":";;;AAEA,MAAa,wBAAwB,iBAAiB;CACrD,sBAAsB;CACtB,uBAAuB;CACvB,0BAA0B;CAC1B,kDACC;CACD,iCAAiC;CACjC,uBAAuB;CACvB,gCAAgC;CAChC,CAAC"}