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

Include Error Handling #9

Closed
kin-au opened this issue Nov 27, 2019 · 0 comments
Closed

Include Error Handling #9

kin-au opened this issue Nov 27, 2019 · 0 comments

Comments

@kin-au
Copy link
Collaborator

kin-au commented Nov 27, 2019

  • if a user attempts to make a request to a non-existent route to your server (404 - as mentioned above), provide the user with a custom response.

  • if there is a programmer error on your server (e.g. a handler function does not act as intended), provide the user with a custom response (500 status code).

freemvmt pushed a commit that referenced this issue Nov 28, 2019
…ed in handlerData fn

cleaned up console logs to leave only one on frontend to print returned data

co-authored-by: Rosa <[email protected]>
relates #14
relates #9
@kin-au kin-au closed this as completed Nov 28, 2019
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

No branches or pull requests

1 participant