def err(self):
        """Std/err output (cached)"""
        if self.__err is not None:
            return self.__err

        if self._uses_subprocess:
            self.__err = self.std_err.read()
        else:
            self.__err = self._pexpect_out

        return self.__err
Std/err output (cached)