G
Guest
Like every developer, I've got tons of error trapping code that hard code
the name of the function or sub name so I can error log it. It seems from
other discussions that the only way to get the function or subprocedure name
is to either hard code it or to use a Constant to store it and reference the
Constant in each Catch statement. There are no properties that return the
function/sub name. Has anyone found a way thru reflection to get the name of
the currently running fuction/subprocedure name?
Thank you so much for your help.
the name of the function or sub name so I can error log it. It seems from
other discussions that the only way to get the function or subprocedure name
is to either hard code it or to use a Constant to store it and reference the
Constant in each Catch statement. There are no properties that return the
function/sub name. Has anyone found a way thru reflection to get the name of
the currently running fuction/subprocedure name?
Thank you so much for your help.