This document describes the current stable version of py-amqp (2.2). For development docs, go here.

amqp.exceptions

Exceptions used by amqp.

exception amqp.exceptions.AMQPError(reply_text=None, method_sig=None, method_name=None, reply_code=None)[source]

Base class for all AMQP exceptions.

code = 0
method
exception amqp.exceptions.ConnectionError(reply_text=None, method_sig=None, method_name=None, reply_code=None)[source]

AMQP Connection Error.

exception amqp.exceptions.ChannelError(reply_text=None, method_sig=None, method_name=None, reply_code=None)[source]

AMQP Channel Error.

exception amqp.exceptions.RecoverableConnectionError(reply_text=None, method_sig=None, method_name=None, reply_code=None)[source]

Exception class for recoverable connection errors.

exception amqp.exceptions.IrrecoverableConnectionError(reply_text=None, method_sig=None, method_name=None, reply_code=None)[source]

Exception class for irrecoverable connection errors.

exception amqp.exceptions.RecoverableChannelError(reply_text=None, method_sig=None, method_name=None, reply_code=None)[source]

Exception class for recoverable channel errors.

exception amqp.exceptions.IrrecoverableChannelError(reply_text=None, method_sig=None, method_name=None, reply_code=None)[source]

Exception class for irrecoverable channel errors.

exception amqp.exceptions.ConsumerCancelled(reply_text=None, method_sig=None, method_name=None, reply_code=None)[source]

AMQP Consumer Cancelled Predicate.

exception amqp.exceptions.ContentTooLarge(reply_text=None, method_sig=None, method_name=None, reply_code=None)[source]

AMQP Content Too Large Error.

code = 311
exception amqp.exceptions.NoConsumers(reply_text=None, method_sig=None, method_name=None, reply_code=None)[source]

AMQP No Consumers Error.

code = 313
exception amqp.exceptions.ConnectionForced(reply_text=None, method_sig=None, method_name=None, reply_code=None)[source]

AMQP Connection Forced Error.

code = 320
exception amqp.exceptions.InvalidPath(reply_text=None, method_sig=None, method_name=None, reply_code=None)[source]

AMQP Invalid Path Error.

code = 402
exception amqp.exceptions.AccessRefused(reply_text=None, method_sig=None, method_name=None, reply_code=None)[source]

AMQP Access Refused Error.

code = 403
exception amqp.exceptions.NotFound(reply_text=None, method_sig=None, method_name=None, reply_code=None)[source]

AMQP Not Found Error.

code = 404
exception amqp.exceptions.ResourceLocked(reply_text=None, method_sig=None, method_name=None, reply_code=None)[source]

AMQP Resource Locked Error.

code = 405
exception amqp.exceptions.PreconditionFailed(reply_text=None, method_sig=None, method_name=None, reply_code=None)[source]

AMQP Precondition Failed Error.

code = 406
exception amqp.exceptions.FrameError(reply_text=None, method_sig=None, method_name=None, reply_code=None)[source]

AMQP Frame Error.

code = 501
exception amqp.exceptions.FrameSyntaxError(reply_text=None, method_sig=None, method_name=None, reply_code=None)[source]

AMQP Frame Syntax Error.

code = 502
exception amqp.exceptions.InvalidCommand(reply_text=None, method_sig=None, method_name=None, reply_code=None)[source]

AMQP Invalid Command Error.

code = 503
exception amqp.exceptions.ChannelNotOpen(reply_text=None, method_sig=None, method_name=None, reply_code=None)[source]

AMQP Channel Not Open Error.

code = 504
exception amqp.exceptions.UnexpectedFrame(reply_text=None, method_sig=None, method_name=None, reply_code=None)[source]

AMQP Unexpected Frame.

code = 505
exception amqp.exceptions.ResourceError(reply_text=None, method_sig=None, method_name=None, reply_code=None)[source]

AMQP Resource Error.

code = 506
exception amqp.exceptions.NotAllowed(reply_text=None, method_sig=None, method_name=None, reply_code=None)[source]

AMQP Not Allowed Error.

code = 530
exception amqp.exceptions.AMQPNotImplementedError(reply_text=None, method_sig=None, method_name=None, reply_code=None)[source]

AMQP Not Implemented Error.

code = 540
exception amqp.exceptions.InternalError(reply_text=None, method_sig=None, method_name=None, reply_code=None)[source]

AMQP Internal Error.

code = 541
exception amqp.exceptions.AMQPDeprecationWarning[source]

Warning for deprecated things.