ServiceResponse.withSoapFault constructor

ServiceResponse.withSoapFault(
  1. SoapFaultDetails soapFaultDetails
)
Initializes a new instance of the The SOAP fault details.

Implementation

ServiceResponse.withSoapFault(SoapFaultDetails soapFaultDetails) {
  _result = ServiceResult.Error;
  _errorCode = soapFaultDetails.ResponseCode;
  _errorMessage = soapFaultDetails.FaultString;
  _errorDetails = soapFaultDetails.ErrorDetails;
}