digitallinguistics / dlx2html

A JavaScript library for converting linguistic data to HTML
MIT License
2 stars 0 forks source link

option: errors #13

Closed dwhieb closed 12 months ago

dwhieb commented 1 year ago

Add an errors option which allows the user to specify how to handle errors.

dwhieb commented 12 months ago

This option doesn't actually make a ton of sense. If scription2dlx parses the data correctly, then this library should be able to convert it to HTML.

If users want to adjust how errors are thrown, they can pass that to the options for scription2dlx.

The only possible exception to this is validating the input options.