Updated README, and now using an exported error type