|Subject:||Re: error system
|Date:||Fri, 22 Oct 2021 16:22:08 -0700
Is there a way to get the current method/proc that is executing?
In my diagnostics table, I want to include a field for the method/proc
that is running when an error occurs. Right now all I can do is:
method (pushbutton(var eventInfo Event)
dynErr["objectID"] = uioTarget.name ;//object executing code
dynErr["methID"] = "pushbutton" ;//method ID, I have to set manually
I would like to have something to the effect of
dynErr["methID"] = thismethod
Thanks for any tips
On 09/29/2021 07:46 p.m., Peter wrote:
> I have several traps for errors, many times reporting the same kind of
> error but with slightly different custom notes appended to describe what
> caused the error or giving the user instructions.
> This leads to me inserting the same basic error blocks over and over.
> I know that the "error" method can be used for this but I don't know
> how. Any tips on setting up an error system? Thanks.