<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_config(self, name):
 """ Return a registred configuration for given config name. Arguments: name (string):
 A registred config name. Raises: NotRegisteredError: If given config name does not exist in registry. Returns: dict: Configuration. """

        if name not in self.registry:
            msg = "Given config name '{}' is not registered."
            raise NotRegisteredError(msg.format(name))

        return copy.deepcopy(self.registry[name])