make sure cli outputs descriptive error messages.