#1 2016-05-11 11:56:58

Stregor
Member
Registered: 2016-05-05
Posts: 2

Error handling in mORMot client

Hello.

I write client to InterfacedBasedServices server writed in mORMot.

I'd like to have centralized error handling on client side. I'd like to, for example, try again 2-3 times some operations before i cancel operation and show exception to user.
I was try to use TOnClientFailed event, but i cannot mute exception, so i know that exception was, but i can do nothing with that information except log it, for example.

Is a way to do my task? Where i can read about this?

Offline

#2 2016-05-11 13:00:01

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,280
Website

Re: Error handling in mORMot client

What do you call "centralized error handling"?
Exception interceptions?

Please read http://synopse.info/files/html/Synopse% … l#TITL_165

Offline

Board footer

Powered by FluxBB