on wish: central "on Procerror" Handling
Author: firstname.lastname@example.org (ulrich-merkel)
Hi Rik (reply to uniface.communityzero.com/content/lists )
On one hand, a centralised "on procerror" sounds nice.
But I miss a way to include the context where the procerror occured.
Not as the context itself, but in the evaluation which actions needs to be taken.
it depends on the context
if $status of -2 or -4 after a retrieve
is an error or just an info.
I use a set of include procs after each call/activate to define what to do:
They require only a single line and a codereview shows clear information
what is expected to be done by the application.
P.S. the alternative would be someting like:
but I would put this declarative always in front of each command
because some code-writer my put a different declarativ between my ones.