Add constant for update user claims workflow#4477
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the
✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
Adds a new UserCoreConstants.ErrorCode constant to represent the “user claims update workflow created” condition, aligning with the existing workflow-created error code pattern in user.core.
Changes:
- Introduced
USER_CLAIMS_UPDATE_WORKFLOW_CREATED = "17005"underUserCoreConstants.ErrorCode.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| public static final String INVALID_CREDENTIAL = "17002"; | ||
| public static final String USER_IS_LOCKED = "17003"; | ||
| public static final String USER_DELETION_WORKFLOW_CREATED = "17004"; | ||
| public static final String USER_CLAIMS_UPDATE_WORKFLOW_CREATED = "17005"; |
There was a problem hiding this comment.
The PR description "## Purpose > $subject" looks like an unexpanded template placeholder and doesn’t describe why this new error code is needed. Please update the PR description to clearly state the use case (e.g., which workflow/API will emit 17005 and under what conditions).
Purpose