Throw a nicer error when not provided a callback