Added error support for setup.
Merge pull request #1 from jess-lawrence-axomic/patch-1

Added error support for setup.