better error handling when missingness is non-function object