Error handling added.
Error handling middleware version update.
Merge pull request #23 from bredikhin/feature/error

Error handling added.