Emit better error message for kw function failure