use error objects over strings (fix #13)
improve documentation (fix #14)
bump version to 0.1.2