Command failures include the stdout and stderr in the error message just like the SSH communicator. Its now possible to specify only an error_class and have that use the correct error_key by default.