diff --git a/apps/cic-ussd/cic_ussd/error.py b/apps/cic-ussd/cic_ussd/error.py index 31bbc745..29dc2ef4 100644 --- a/apps/cic-ussd/cic_ussd/error.py +++ b/apps/cic-ussd/cic_ussd/error.py @@ -52,4 +52,5 @@ class UnknownUssdRecipient(Exception): """Raised when a recipient of a transaction is not known to the ussd application.""" - +class MaxRetryReached(Exception): + """Raised when the maximum number of retries defined for polling for the availability of a resource."""