Exceptions

Pika specific exceptions

exception pika.exceptions.AMQPChannelError
exception pika.exceptions.AMQPConnectionError
exception pika.exceptions.AMQPError
exception pika.exceptions.AuthenticationError
exception pika.exceptions.BodyTooLongError
exception pika.exceptions.ChannelClosed
exception pika.exceptions.ChannelError
exception pika.exceptions.ConnectionClosed
exception pika.exceptions.ConsumerCancelled
exception pika.exceptions.DuplicateConsumerTag
exception pika.exceptions.IncompatibleProtocolError
exception pika.exceptions.InvalidChannelNumber
exception pika.exceptions.InvalidFieldTypeException
exception pika.exceptions.InvalidFrameError
exception pika.exceptions.InvalidMaximumFrameSize
exception pika.exceptions.InvalidMinimumFrameSize
exception pika.exceptions.MethodNotImplemented
exception pika.exceptions.NackError(messages)

This exception is raised when a message published in publisher-acknowledgements mode is Nack’ed by the broker.

Used by BlockingChannel.

exception pika.exceptions.NoFreeChannels
exception pika.exceptions.ProbableAccessDeniedError
exception pika.exceptions.ProbableAuthenticationError
exception pika.exceptions.ProtocolSyntaxError
exception pika.exceptions.ProtocolVersionMismatch
exception pika.exceptions.RecursionError

The requested operation would result in unsupported recursion or reentrancy.

Used by BlockingConnection/BlockingChannel

exception pika.exceptions.ShortStringTooLong
exception pika.exceptions.UnexpectedFrameError
exception pika.exceptions.UnroutableError(messages)

Exception containing one or more unroutable messages returned by broker via Basic.Return.

Used by BlockingChannel.

In publisher-acknowledgements mode, this is raised upon receipt of Basic.Ack from broker; in the event of Basic.Nack from broker, NackError is raised instead

exception pika.exceptions.UnspportedAMQPFieldException

Deprecated version of UnsupportedAMQPFieldException

exception pika.exceptions.UnsupportedAMQPFieldException

Previous topic

Authentication Credentials

Next topic

Connection Parameters

This Page