[jing] better error messages.