Error handling with message.
Merge pull request #11 from fotavo/error

Error handling with message.