Correct error message on config section with extra fields
Any config section which is parsed with _make_config_group
produces this error if the section does not match what's expected:
raise RuntimeError(
f"'{section_name}' section does not have all required fields."
)
The issue, here, is that it does not distinguish between missing and extra fields, and implies fields are missing when they're actually extras.
I propose that we disambiguate this error message, and add information about which fields are missing, or which fields are extra. There is some ambiguity to this, as there may be overlapping options, so care will need to be taken.