Return proper errors if config is read-only