Data.Cloud.AmazonAPI.TAmazonStorageService.ParseResponseError

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
Data.Cloud.AmazonAPI.pas
Data.Cloud.AmazonAPI.hpp
Unit: Data.Cloud.AmazonAPI
Parent: TAmazonStorageService

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);

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 XML error and populate the ResponseInfo's message with the error message.

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