So basically I have a class named ErrorHandler and I want to make a list with some specific functions so that\'s what I did.
class definition: