Data.Cloud.AmazonAPI.TAmazonService.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: TAmazonService

Delphi

procedure ParseResponseError(const ResponseInfo: TCloudResponseInfo; const ResultString: string); virtual; abstract;

C++

virtual void __fastcall ParseResponseError(Data::Cloud::Cloudapi::TCloudResponseInfo* const ResponseInfo, const System::UnicodeString ResultString) = 0 ;

Description

Populates the given ResponseInfo with error information.

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.

This also populates a header value with key 'RequestId', even if the ResultString is an XML error or a successful request.