triplit icon indicating copy to clipboard operation
triplit copied to clipboard

Make connection errors more accessible

Open wernst opened this issue 1 year ago • 0 comments

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 avatar Nov 14 '23 21:11 wernst