Skeleton ready
This commit is contained in:
0
kernel/rabbitmq/exception/__init__.py
Normal file
0
kernel/rabbitmq/exception/__init__.py
Normal file
7
kernel/rabbitmq/exception/connection_not_established.py
Normal file
7
kernel/rabbitmq/exception/connection_not_established.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from aio_pika.exceptions import AMQPConnectionError
|
||||
|
||||
from kernel.rabbitmq.exception.rabbitmq_exception import RabbitMQException
|
||||
|
||||
|
||||
class ConnectionNotEstablished(RabbitMQException, AMQPConnectionError):
|
||||
pass
|
||||
7
kernel/rabbitmq/exception/connection_timeout.py
Normal file
7
kernel/rabbitmq/exception/connection_timeout.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from aio_pika.exceptions import AMQPConnectionError
|
||||
|
||||
from kernel.rabbitmq.exception.rabbitmq_exception import RabbitMQException
|
||||
|
||||
|
||||
class ConnectionTimeout(RabbitMQException, AMQPConnectionError):
|
||||
pass
|
||||
5
kernel/rabbitmq/exception/rabbitmq_exception.py
Normal file
5
kernel/rabbitmq/exception/rabbitmq_exception.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from aio_pika.exceptions import AMQPException
|
||||
|
||||
|
||||
class RabbitMQException(AMQPException):
|
||||
pass
|
||||
Reference in New Issue
Block a user