Skip to content

Method _ap__assert_purperrors

abstract protected

Checks for errors related to the specified purpose from descendants of each IConfigValidator.

If validation is successful, this operation should be equivalent to a no-op.

Details

Signature

    def _ap__assert_purperrors(config_dict: Dict[str, Any]) -> Dict[str, Any]

Guarantees

When this entity is called it is already guaranteed:

  • That all required fields exist and are semantically correct.

  • That optional fields, which do exist, are semantically correct.


Parameters

  • config_read (Dict[str, Any]):

    An any-type, string-indexed dictionary representing the read configuration file

Return Type

This entity doesn't return any value


Exceptions

Raised Exceptions

  • InvalidConfigValueError, happens if:

    • The semantics of one or more fields are correct but a specific error exists, declared by the descendants of its abstract class.