VixDiskLib_GetErrorText() returns the textual description of a numeric error code.

char* msg = VixDiskLib_GetErrorText(errCode, NULL);