accept format string in lval_err to improve quality of reporting