Use a callback strategy to short circuit the functions and print a nice error