delb-xml / delb-py

A library that provides an ergonomic model for XML encoded text documents (e.g. with TEI-XML).
https://delb.readthedocs.io
GNU Affero General Public License v3.0
16 stars 0 forks source link

Raise more informative exceptions when document loading fails #7

Closed funkyfuture closed 4 years ago

funkyfuture commented 4 years ago

the document loading logic is failure tolerant by design. however users are left clueless when a document can't be loaded regarding to the causes.

hence, the loaders should return an explanation why they do not consider a given source to be loadable or the exception that was raised when they tried so. in case of a failed loading, the users shall be informed accordingly.

funkyfuture commented 4 years ago

@zed-g the 0.2b2 release is the hottest shit around and it should help debugging. eager for your detailed feedback.

funkyfuture commented 4 years ago

as mentioned, this is already addressed in a release and was implemented w/ 40258563e7abf9344a53e344a3e73b1e47825aa2