VMware Cloud Director API - Error

VMware Cloud Director API - Error

ErrorType

Element:
Error
Type:
ErrorType
Namespace:
http://www.vmware.com/vcloud/v1.5
Description:
The standard error message type used in the vCloud REST API.
Since:
0.9
Schema:
common.xsd
Media type(s):
None
Extends:
VCloudExtensibleType
XML Representation:
<Error xmlns="http://www.vmware.com/vcloud/v1.5" stackTrace="xs:string" message="xs:string" majorErrorCode="xs:int" minorErrorCode="xs:string"
        vendorSpecificErrorCode="xs:string">
    <TenantError message="xs:string" majorErrorCode="xs:int" minorErrorCode="xs:string" vendorSpecificErrorCode="xs:string"/>
</Error>

Attributes

Attribute Type Required Modifiable Since Deprecated Description
stackTrace string No none 1.0 The stack trace of the exception.
message string Yes none 0.9 An one line, human-readable message describing the error that occurred.
majorErrorCode int Yes none 0.9 The class of the error. Matches the HTTP status code.
minorErrorCode string Yes none 0.9 Resource-specific error code.
vendorSpecificErrorCode string No none 0.9 A vendor- or implementation-specific error code that can reference specific modules or source lines for diagnostic purposes.

Elements

Element Type Required Modifiable Since Deprecated Description
TenantError TenantErrorType No none 5.7 The tenant view of the error, when the containing error is an administrator view of the error.
VCloudExtension VCloudExtensionType No always 0.9 An optional extension element that can contain an arbitrary number of elements and attributes. Not related to extension services.