Are you thinking about plugin id numbers?
{" You should pick a number between 15000 and 32767."}

How would retuning a similar error code cause a crash?
How are you returning the error code?


-----Original Message-----
From: 4D_Tech [] On Behalf Of Alan Chan via 
Sent: Friday, February 02, 2018 1:36 AM
Cc: Alan Chan <>
Subject: Error Code reserved by 4D

I thought error codes under -15000 were not reserved by 4D. Now it produces 
error -20002 that might crash with user generated error for business rules 

Could anyone tell if 4D changes error code range reserved by 4D?


Alan Chan

4D iNug Technical <> writes:
>I just today got the -20002 error in a compiled database.
>The issue is/was pointers.

>I still have to use a different method to handle the error because I
>get a -20002 (accessing a parameter that does not exist) error in compiled 
>mode. I think this -20002 error is related to my usage of $0 in the normal 
>context of this method ($0 is not used in the error handler context).  It 
>looks like you also return a Boolean in $0 but you do not mention seeing the 
>-20002 error; weird. Have you have provoked your error handler in compiled 
4D Internet Users Group (4D iNUG)

Reply via email to