Data.Cloud.AmazonAPI.TAmazonBasicService.ParseResponseError
Delphi
procedure ParseResponseError(const ResponseInfo: TCloudResponseInfo; const ResultString: string); override;
C++
virtual void __fastcall ParseResponseError(Data::Cloud::Cloudapi::TCloudResponseInfo* const ResponseInfo, const System::UnicodeString ResultString);
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| procedure function | protected | Data.Cloud.AmazonAPI.pas Data.Cloud.AmazonAPI.hpp | Data.Cloud.AmazonAPI | TAmazonBasicService | 
Description
Populates the given ResponseInfo with error information, if any.
If the given ResponseInfo is non-null, and the ResultString holds an XML error message, then this procedure will parse the error XML and populate the ResponseInfo's message with the error message.
ParseResponseError also populates a header value with the 'RequestId' key, regardless of whether the ResultString is an error XML or a successful request.
The following table shows the significance of the parameters:
| Parameter | Description | 
|---|---|
| 
 | The optional response info to populate, or nil. | 
| 
 | The request's response string to parse for an error message. |