You are not logged in.
Hi Arnaud,
Can we either assign an event handler to, or override a method for TSQLRestClientURI, that gets called once LastErrorCode, LastErrorMessage or LastErrorException is set.
The requirement is that I need a centralized place to handle all the errors received from the server, instead of having all error-handling logic scattered around the entire application, something like the try...except block does. Thanks.
Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.
Offline
Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.
Offline
For the client side, I've added the TSQLRestClientURI.OnFailed centralized event.
See http://synopse.info/fossil/info/7c647a49d6
Sorry for the delay!
Offline
Great! Thanks Arnaud!
Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.
Offline