Data.Cloud.AmazonAPI.TAmazonBasicService.ParseResponseError

From RAD Studio API Documentation
Jump to: navigation, search

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

ResponseInfo

The optional response info to populate, or nil.

ResultString

The request's response string to parse for an error message.

See Also