#7: add better errors

This is a pull request to test what I just wrote in the wiki about how to contribute to the project.