Add command output to raised exception if the result code is nonzero.
Make exception message to contain command with interpolations.