HarshKapadia2 / one-or-two

A hand gesture model web app to detect 1 and 2 in a picture.
https://one-or-two.herokuapp.com/
MIT License
5 stars 4 forks source link

Dynamic error page #20

Open HarshKapadia2 opened 3 years ago

HarshKapadia2 commented 3 years ago

There should be one common template for all errors where the error code (Eg: 404, 500) and error message (Eg: NOT FOUND, INTERNAL SERVER ERROR) were just passed in as and when the error occurred.

Refer to issues #6 and #7 and PR #19 for some help.

Example: A Node.js project Food Oye that I had done. (Live web app)

The status, status_descp and err_trace in the 1st pic get populated in the final output (2nd pic)

image

A similar thing has to be done in Flask.

HarshKapadia2 commented 3 years ago

@Haroonchik just comment here so that I can assign it to you.

Haroonchik commented 3 years ago

@HarshKapadia2 Ok

Haroonchik commented 3 years ago

@HarshKapadia2 Done https://github.com/HarshKapadia2/one-or-two/pull/22