Can a missing key be expected and handled normally? For example, to insert a default value? But wouldn't it be better if a default value is contained with the chain of configs.
If a missing key is never a normal use case, it should be an exception.
Not to mention that this method increases the complexity of the code and creates confusion for the users.
Can a missing key be expected and handled normally? For example, to insert a default value? But wouldn't it be better if a default value is contained with the chain of configs.
If a missing key is never a normal use case, it should be an exception.
Not to mention that this method increases the complexity of the code and creates confusion for the users.