Is there a method similar to the
Limit Method called
getScriptStatements that will return the actual line number of the trigger or class its being called from?
I'm working on a custom error handler class where having this functionality would be very helpful. I'd like to be able to have a piece of code I can "drop in" that doesn't require me to hard code the line number that it's being called from.