UNPKG

better-auth

Version:

The most comprehensive authentication framework for TypeScript.

1 lines 655 B
{"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});\n"],"mappings":";;;AAEA,MAAa,wBAAwB,iBAAiB;CACrD,sBAAsB;CACtB,uBAAuB;CACvB,0BAA0B;CAC1B,kDACC;CACD,CAAC"}