referencing Function Name
Posted: Wed Nov 02, 2011 6:51 pm
I'm writing a error routine, and each time I call this handler, I have to pass a hard coded literal string with the name of the function, where the error occurred. For instance:
Is there some way to reference the name of a function from within the function itself?
I couldn't find anything in the Dictionary.
Code: Select all
error.msg("my.handler.name", result.msg)
I couldn't find anything in the Dictionary.