handle case when missing a function and pass along the value or reason