TransferErrorDescription - cJsonHttpTransfer
Returns an error description for the last transfer
Type: Function
Return Data Type: String
Syntax
Function TransferErrorDescription Returns String
Call Example
Get TransferErrorDescription to StringVariable
Description
The peJsonTransferStatus property is set after a JSON HTTP request.
If a transfer error occurred (the value is not jtsOk), the text for that error may be determined by calling the TransferErrorDescription function.
Get peJsonTransferStatus of oJsonHttp to eTransferStatus
If (eTransferStatus<>jtsOK) Begin
Get TransferErrorDescription of oJsonHttp to sErr
Send WeHadAFaultError sErr
End
See Also