Add custom exception

This commit is contained in:
Markus Bauer 2021-05-16 22:48:13 +02:00
parent 56c9a5ebc6
commit 92f2a2c8f4
1 changed files with 3 additions and 0 deletions

3
src/exceptions.py Normal file
View File

@ -0,0 +1,3 @@
class TooManyConnections(Exception):
def __init__():
super().__init__("Too many concurrent connections")