Added ability to return failure message from an error handler on a command