# Fault - GatewayConnectFault(vim.fault.GatewayConnectFault)

Thrown by
  AddHost_Task, AddStandaloneHost_Task, CheckAddHostEvc_Task, QueryConnectionInfoViaSpec, ReconnectHost_Task
Extended by
  GatewayNotFound, GatewayNotReachable, GatewayOperationRefused, GatewayToHostConnectFault
Extends
  HostConnectFault
See also
  LocalizableMessage
Since
  vSphere API 6.0

## Fault Description

GatewayConnectFault is a base fault type for the faults thrown by a gateway server used to connect to a host.

Properties

Name | Type | Description
--- | --- | ---
details* | LocalizableMessage | Details of the cause for this fault. This is the way in which Host Gateway servers propagate opaque error messages through vCenter Server.
gatewayId | xsd:string | Identifier of the gateway that is used for the connection to the host.
gatewayInfo | xsd:string | Human-readable information about the host gateway server.
gatewayType | xsd:string | The type of the gateway used for the connection to the host.
Properties inherited from HostConnectFault
None
Properties inherited from VimFault
None
Properties inherited from MethodFault
faultCause, faultMessage

*May not be present
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vim25="urn:vim25" name="GatewayConnectFault"> <complexContent> <extension base="vim25:HostConnectFault"> <sequence> <element name="gatewayType" type="xsd:string"/> <element name="gatewayId" type="xsd:string"/> <element name="gatewayInfo" type="xsd:string"/> <element name="details" type="vim25:LocalizableMessage" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>