This commit is contained in:
2025-02-11 22:48:36 +03:00
parent 6d331a57c1
commit 29b184b2ed
4 changed files with 26 additions and 10 deletions
+2 -2
View File
@@ -28,13 +28,13 @@ class MissingMainRouterException(Exception):
"One of the registered routers must be the main one")
class MissingHandlersForUnknownCommandsOnMainRouterException(Exception):
class MissingHandlerForUnknownCommandsException(Exception):
def __str__(self):
return ("Missing Handlers For Unknown Commands On The Main Router\n"
"The main router must have a declared handler for unknown commands")
class HandlerForUnknownCommandsCanOnlyBeDeclaredForMainRouterException(Exception):
class HandlerForUnknownCommandsOnNonMainRouterException(Exception):
def __str__(self):
return '\nThe handler for unknown commands can only be declared for the main router'