Quantcast
Channel: Embarcadero Community - Embarcadero Community
Viewing all articles
Browse latest Browse all 1888

How to use ACompletionHandlerWithError

$
0
0

I have an application that uses TRestRequest with the ExecuteAsync method.

When an error occurs, such as a wrong URL, it returns no error to the application.

Studying the Rest.Client drive I have seen that there is an ACompletionHandlerWithError parameter which, according to the documentation, can execute a method whenever there is an error.

Could someone send me an example? I could not make it work


Viewing all articles
Browse latest Browse all 1888

Trending Articles