task

package
v1.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorMessageFromTaskInfo

func ErrorMessageFromTaskInfo(taskInfo *vimtypes.TaskInfo) string

ErrorMessageFromTaskInfo extracts a comprehensive error message from a TaskInfo. It combines the localized message with all fault messages to provide complete error details. This is useful when vSphere returns a generic localized message (e.g., ending with a colon) followed by detailed fault messages.

Example:

  • LocalizedMessage: "Customization of guest OS is not supported: "
  • FaultMessage: "Tools version 7.4.3 installed in the GuestOS is not supported."
  • Result: "Customization of guest OS is not supported: Tools version 7.4.3 installed in the GuestOS is not supported."

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL