Open HarshKapadia2 opened 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)
status
status_descp
err_trace
A similar thing has to be done in Flask.
@Haroonchik just comment here so that I can assign it to you.
@HarshKapadia2 Ok
@HarshKapadia2 Done https://github.com/HarshKapadia2/one-or-two/pull/22
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
anderr_trace
in the 1st pic get populated in the final output (2nd pic)A similar thing has to be done in Flask.