This is my decorator.
Class Apps(object): #This is my decorator def handle_response(func): """Decorator for handling the errors or