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

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



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


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