Fail early if we're passed a null chain callback.