Improve exception handling
Properly report errors.
0.1.2