Skip to content
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

Make connection errors more accessible #17

Open
wernst opened this issue Nov 14, 2023 · 0 comments
Open

Make connection errors more accessible #17

wernst opened this issue Nov 14, 2023 · 0 comments
Labels
enhancement New feature or request @triplit/client

Comments

@wernst
Copy link
Contributor

wernst commented Nov 14, 2023

Although I can hook into the connection state, I don't have much information as to WHY a client cannot connect.

For example, I may have a malformed connection token, but have no way to pull this specific error information out of the client or react packages.

Without providing this, the app can really only inform the user the app is disconnected, but not what it could do about it (or if it expects that it may be able to reconnect).

@wernst wernst added enhancement New feature or request @triplit/client labels Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request @triplit/client
Projects
None yet
Development

No branches or pull requests

1 participant