8000 feat: improve error reporting for failed user invitations (#1050) by rishiraj38 · Pull Request #1092 · layer5io/sistent · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: improve error reporting for failed user invitations (#1050) #1092

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rishiraj38
Copy link

Description

This PR improves error reporting for failed user invitations by replacing the generic error message with specific, contextual messages based on the error returned from the backend.

Changes Made

  • Updated error handling in the invite function to check for specific error messages.
  • Added clear, user-friendly error messages for:
    • Email already exists
    • Invalid email format
    • User limit reached
    • Fallback for unknown errors

Related Issue

Closes #1050

@rishiraj38
Copy link
Author

Hi @zihanKuang @leecalcote
I’ve submitted a PR for #1050. Would love your feedback when you have time. Thank you! 🙌

)

Signed-off-by: Rishi Raj <rishiraj@Mac.lan>
@rishiraj38 rishiraj38 force-pushed the improve-invitation-error-messages branch from 5c6baef to 2a3b18c Compare June 27, 2025 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Improve Error Reporting for Failed User Invitations
1 participant
0