def METHOD_NAME(unit_test):
    from vcr.errors import CannotOverwriteExistingCassetteException
    def _handle_main_exception(ex, *args, **kwargs):  # pylint: disable=unused-argument
        if isinstance(ex, CannotOverwriteExistingCassetteException):
            # This exception usually caused by a no match HTTP request. This is a product error
            # that is caused by change of SDK invocation.
            raise ex
        raise CliExecutionError(ex)
    mock_in_unit_test(unit_test, 'azure.cli.core.util.handle_exception', _handle_main_exception)