Maria-Liakata-NLP-Group / annotations-interface

New iteration of the Annotations Interface tool
MIT License
0 stars 0 forks source link

Custom error handling #8

Open dsj976 opened 1 year ago

dsj976 commented 1 year ago

Create error handling infrastructure for the Flask app - e.g. the uploaded dataset to be annotated does not have the appropriate structure.

Check this tutorial.

dsj976 commented 1 year ago

error handling has been added for HTTP 400, 404 and 500 so far (see commits 0bcf947 and 50f7dee). The 400 error is raised when the dataset uploaded by the user cannot be parsed into the DB.

dsj976 commented 1 year ago

Any more custom error handling that we should include?