Re: [PATCH] Improve some error messages about unsupported APIs/URIs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/23/2010 04:16 AM, Matthias Bolte wrote:
         case VIR_ERR_NO_SUPPORT:
 >               if (info == NULL)

Would it be practical to expand this with category messages like?

    case VIR_ERR_NO_SUPPORT_STORAGE:
        if (info == NULL)
errmsg = _("this function is not supported by the storage driver");
          ...

    case VIR_ERR_NO_SUPPORT_NETWORK:
        if (info == NULL)
errmsg = _("this function is not supported by the network driver");
          ...

Or maybe figure out a "%s" replaceable keyword for network/storage/hypervisor/etc above?

Regards and best wishes,

Justin Clift

--
Salasaga  -  Open Source eLearning IDE
              http://www.salasaga.org

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]