You're passing your `catchFunc` into the constructor, but I can't see where this is being used.