code property

String code
final

Error code for programmatic handling.

Standard codes include:

  • INVALID_CREDENTIALS: Email or password is incorrect
  • USER_NOT_FOUND: No account with this email
  • EMAIL_ALREADY_EXISTS: Account already exists
  • SESSION_EXPIRED: Session has expired
  • UNAUTHORIZED: Not authorized to perform action
  • VALIDATION_ERROR: Validation failed

Implementation

final String code;