better error messages from action misuses