Skip to content

Update readme with error handling example #768

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

Merged

Conversation

sosaucily
Copy link
Contributor

I struggled for a little too long to figure out how to best catch with error from a param validation failure. It was causing my server to 500, even in production. Yuck city. Thought this example would be helpful. Thanks for the library!

@sosaucily sosaucily changed the title update-readme-with-error-handling-example Update readme with error handling example Aug 20, 2022
Copy link
Collaborator

@mathieujobin mathieujobin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update, this is useful. please address the one comment I left and I will merge

@sosaucily
Copy link
Contributor Author

Good catch @mathieujobin Fixed now!

@mathieujobin mathieujobin merged commit e604b11 into Apipie:master Aug 29, 2022
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.

2 participants