Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Better error messages #52

Open
hstove opened this issue Nov 6, 2019 · 3 comments
Open

Better error messages #52

hstove opened this issue Nov 6, 2019 · 3 comments
Labels
good first issue Good for newcomers

Comments

@hstove
Copy link
Collaborator

hstove commented Nov 6, 2019

There are a few things that are easy to get wrong when using Radiks, and the error messages are basically useless. Better error messages would go a long way in improving the DX of Radiks. For things like:

  • Calling methods when you have to be logged in, but aren't
  • Inviting a user who hasn't signed up
  • Saving a model that wasn't created by the original user
  • Using the same Radiks server database with multiple front-end apps on different domains

All of those error messages bubble up way down the stack, and are essentially cryptography error messages. Let's make them friendly and helpful.

@hstove
Copy link
Collaborator Author

hstove commented Nov 6, 2019

@reedrosenbluth this is a good "first issue" - it will force you to setup Radiks and try different things, including things that aren't exactly how you're supposed to do it. And then you'll have to follow the logic to figure out where to put the error handlers. Of course, I'm happy to help.

@hstove hstove added the good first issue Good for newcomers label Nov 6, 2019
@Abhimanyu121
Copy link

When I am trying to follow the docs and authenticate, I am getting Unhandled Rejection (SyntaxError): Unexpected end of JSON input.
Can I get a little help?

@Nsandomeno
Copy link

When I am trying to follow the docs and authenticate, I am getting Unhandled Rejection (SyntaxError): Unexpected end of JSON input.
Can I get a little help?

I am experiencing the same but not sure that this is the correct place.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants