Exceptions
- class amqpstorm.AMQPError(*args, **kwargs)[source]
General AMQP Error.
Exceptions raised by AMQPStorm are mapped based to the AMQP 0.9.1 specifications (when applicable).
e.g.
except AMQPChannelError as why: if why.error_code == 312: self.channel.queue.declare(queue_name)
- property documentation
AMQP Documentation string.
- property error_code
AMQP Error Code - A 3-digit reply code.
- property error_type
AMQP Error Type e.g. NOT-FOUND.