Use an Error object for failed commands.
Merge pull request #4 from nearform/error-object-for-failed-commands

Use an Error object for failed commands.