hercules-team / python-augeas

Python bindings for Augeas
GNU Lesser General Public License v2.1
44 stars 31 forks source link

Refactor exceptions from Augeas errors #38

Closed ptoscano closed 6 years ago

ptoscano commented 6 years ago

Right now, when an augeas function returns an error, a generic Python exception (IOError, RuntimeError, or ValueError) is raised, with no way to even known the details of the failure.

Revamp a bit the system:

Fixes #8.