pamqp.exceptions

The pamqp.exceptions module is auto-generated, created by the tools/codegen.py application.

pamqp.exceptions implements AMQP exceptions as Python exceptions so that client libraries can raise these exceptions as is appropriate without having to implement their own extensions for AMQP protocol related issues.

exception pamqp.exceptions.PAMQPException[source]

Base exception for all pamqp specific exceptions.

exception pamqp.exceptions.UnmarshalingException[source]

Raised when a frame is not able to be unmarshaled.

exception pamqp.exceptions.AMQPError[source]

Base exception for all AMQP errors.

exception pamqp.exceptions.AMQPSoftError[source]

Base exception for all AMQP soft errors.

exception pamqp.exceptions.AMQPHardError[source]

Base exception for all AMQP hard errors.

exception pamqp.exceptions.AMQPContentTooLarge[source]

The client attempted to transfer content larger than the server could accept at the present time. The client may retry at a later time.

exception pamqp.exceptions.AMQPNoRoute[source]

Returned when RabbitMQ sends back with ‘basic.return’ when a ‘mandatory’ message cannot be delivered to any queue.

exception pamqp.exceptions.AMQPNoConsumers[source]

When the exchange cannot deliver to a consumer when the immediate flag is set. As a result of pending data on the queue or the absence of any consumers of the queue.

exception pamqp.exceptions.AMQPAccessRefused[source]

The client attempted to work with a server entity to which it has no access due to security settings.

exception pamqp.exceptions.AMQPNotFound[source]

The client attempted to work with a server entity that does not exist.

exception pamqp.exceptions.AMQPResourceLocked[source]

The client attempted to work with a server entity to which it has no access because another client is working with it.

exception pamqp.exceptions.AMQPPreconditionFailed[source]

The client requested a method that was not allowed because some precondition failed.

exception pamqp.exceptions.AMQPConnectionForced[source]

An operator intervened to close the connection for some reason. The client may retry at some later date.

exception pamqp.exceptions.AMQPInvalidPath[source]

The client tried to work with an unknown virtual host.

exception pamqp.exceptions.AMQPFrameError[source]

The sender sent a malformed frame that the recipient could not decode. This strongly implies a programming error in the sending peer.

exception pamqp.exceptions.AMQPSyntaxError[source]

The sender sent a frame that contained illegal values for one or more fields. This strongly implies a programming error in the sending peer.

exception pamqp.exceptions.AMQPCommandInvalid[source]

The client sent an invalid sequence of frames, attempting to perform an operation that was considered invalid by the server. This usually implies a programming error in the client.

exception pamqp.exceptions.AMQPChannelError[source]

The client attempted to work with a channel that had not been correctly opened. This most likely indicates a fault in the client layer.

exception pamqp.exceptions.AMQPUnexpectedFrame[source]

The peer sent a frame that was not expected, usually in the context of a content header and body. This strongly indicates a fault in the peer’s content processing.

exception pamqp.exceptions.AMQPResourceError[source]

The server could not complete the method because it lacked sufficient resources. This may be due to the client creating too many of some type of entity.

exception pamqp.exceptions.AMQPNotAllowed[source]

The client tried to work with some entity in a manner that is prohibited by the server, due to security settings or by some other criteria.

exception pamqp.exceptions.AMQPNotImplemented[source]

The client tried to use functionality that is not implemented in the server.

exception pamqp.exceptions.AMQPInternalError[source]

The server could not complete the method because of an internal error. The server may require intervention by an operator in order to resume normal operations.