Hi Jim, you can get the method name and line # of where the error occured. From (http://doc.4d.com/4Dv16R4/4D/16-R4/ON-ERR-CALL.301-3316809.en.html): The Error variable value is significant only within the error-handling method; if you need the error code within the method that provoked the error, copy the Error variable to your own process variable. You can also access the Error method, Error line and Error formula system variables which contain, respectively, the name of the method, the line number and the text of the formula where the error occurred (see Error, Error method, Error line <http://doc.4d.com/4Dv16R4/4D/16-R4/System-Variables.300-3317964.en.html#205035>).
Dani Beaubien > On Dec 15, 2017, at 9:30 AM, Jim Medlen via 4D_Tech <[email protected]> > wrote: > > > Inside the error handling method set by ON ERR CALL is there a way to access > the > CALL CHAIN similar to GET LAST ERROR STACK so that the Error method > could log which method generated the Error? > > Is there a way to identify the Method that generated the Error? > > > Thanks, > > Jim Medlen > Computer & Information Systems > Functional Devices, Inc. > [email protected] > phone (765) 883-5538 x 428 > fax (765) 883-4262 > http://www.functionaldevices.com > > This email was transmitted on 100 percent recycled electrons > > > > > ********************************************************************** > 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] > ********************************************************************** ********************************************************************** 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] **********************************************************************

