improve the way error messages are built
minor #19 improve the way error messages are built (xabbuh)

This PR was squashed before being merged into the 1.0-dev branch (closes #19).

Discussion
----------

improve the way error messages are built

Commits
-------

46be8bd improve the way error messages are built