Hello! In #94 , I suggested throwing an exception when multiple country codes were found in a partial match search for country names. However, I received feedback that this might not be the best solution.
So, as a new solution, I've added a name method for exact match search for country names. This method will return the data of a country only if there is a perfect match with the specified country name.
Please review the code below and provide your feedback. Thank you.
Hello! In #94 , I suggested throwing an exception when multiple country codes were found in a partial match search for country names. However, I received feedback that this might not be the best solution.
So, as a new solution, I've added a name method for exact match search for country names. This method will return the data of a country only if there is a perfect match with the specified country name.
Please review the code below and provide your feedback. Thank you.