Hi Arnaud,

I never use component and have no comment on it. For trigger, the $0 is vital 
for us. It did trap 4D error once in awhile on our development phase. -9998 is 
the most popular one:-) Of course, we also return our business rules error to 
$0.

Many 4D engine errors won't be trapped by error handler but mostly could be get 
around with extra coding. We are still in 15.5 and may be -20002 is new in 16 
or 16Rx

Alan Chan

4D iNug Technical <[email protected]> writes:
>
>> Le 3 févr. 2018 à 11:18, Alan Chan via 4D_Tech <[email protected]> a 
>> écrit :
>> 
>> Hmm... I didn't see -20002 there.
>
>Hi Alan, 
>one or more not documented, you know…  ;-)
>I'd call that error "a method used as error handler must not have parameter, 
>including $0"
>
>I was questioning myself about its number, in the trigger range (-32000 .. 
>-15000). I may be wrong but it sounds like -20002 cannot be trapped by an 
>error handler, so chances to collide with a home made trigger error detected 
>by a error handler
>seems weak (or unlikely). 
>
>I'm also wondering about the $0 use (I have used it a bit more than in one 
>method in a v12 component… 😱)
>- those methods in my v12 component never never never encountered error (???)
>- it came after v12
>
>-- 
>Arnaud de Montard 
>
>

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to