Add custom exception
This commit is contained in:
parent
56c9a5ebc6
commit
92f2a2c8f4
|
|
@ -0,0 +1,3 @@
|
||||||
|
class TooManyConnections(Exception):
|
||||||
|
def __init__():
|
||||||
|
super().__init__("Too many concurrent connections")
|
||||||
Loading…
Reference in New Issue