From 836cefe45633331d0e5692295174bf3181a5e365 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Thu, 6 Aug 2020 09:47:35 -0500 Subject: Change MissingKeyErrors to KeyError --- config_file/abstract_parser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config_file/abstract_parser.py') diff --git a/config_file/abstract_parser.py b/config_file/abstract_parser.py index ab5d205..689fece 100644 --- a/config_file/abstract_parser.py +++ b/config_file/abstract_parser.py @@ -57,7 +57,7 @@ class AbstractParser(ABC): Whatever value the given key happens to contain. Raises: - MissingKeyError: If the key to retrieve does not exist. + KeyError: If the key to retrieve does not exist. """ raise NotImplementedError @@ -81,7 +81,7 @@ class AbstractParser(ABC): key: The key we would like to remove. Raises: - MissingKeyError: If the key to remove does not exist. + KeyError: If the key to remove does not exist. """ raise NotImplementedError -- cgit v1.2.3