Skip to content

AuthErrorCode

AuthErrorCode = typeof AUTH_ERROR_CODES[keyof typeof AUTH_ERROR_CODES]

Defined in: packages/auth/src/errors/codes.ts:34

Union of every public auth error code. Pinning this type prevents accidental widening to string — if a service throws a code that is not in AUTH_ERROR_CODES, the compiler flags it.