alex6480 / studycards

Temporary
MIT License
0 stars 0 forks source link

Change ParseError to include a severity #4

Open alex6480 opened 5 years ago

alex6480 commented 5 years ago

Right now all errors prevent the file from being loaded even though some errors can be corrected by the parser. If the error can be corrected by the parser, it should still be logged and shown to the user, but the set should still be imported.

This can be done by adding a severity parameter to errors and only preventing import on severe errors.