General information
Category:
Object Oriented Programming
Title:
Can a function return it's parent?
I have an object that I built an error handler and logger for. In that object, I call a function. If an error occurs in the function it would be nice to call the error handler in my object. Is there a way for a function to determine what object called it?
Or is this just all-around bad programming style?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only