Informative error handler

This is an informative error handler that is ideal for both Notes clients and Web clients. Provides line#, error# and error description.
LotusScript


'////// Place all your LotusScript function code above /////////

	Exit Sub
	
	On Error Goto errorhandler
	
errorhandler:
	doc.errortext = "Error " & Err() & ": " & Error() & Chr(10) & _
	"(Line Reference #" & Cstr(Erl()) & ")"
	
End Sub

Images/Screenshots:

Posted by fbrefere001 on Sunday December 14, 2003