~oubiwann/pika/master

« back to all changes in this revision

Viewing changes to pika/exceptions.py

  • Committer: Gavin M. Roy
  • Date: 2016-04-01 12:46:22 UTC
  • mfrom: (924.1.2)
  • Revision ID: git-v1:914a73548f288a8508aad47dd890769e9441f17a
Merge pull request #712 from vitaly-krugl/channel-cleanup

Fixed Channel-related bugs in Channel and Connection classes

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
            return 'The channel was closed: %s' % (self.args,)
85
85
 
86
86
 
 
87
class ChannelAlreadyClosing(AMQPChannelError):
 
88
    """Raised when `Channel.close` is called while channel is already closing"""
 
89
    pass
 
90
 
 
91
 
87
92
class DuplicateConsumerTag(AMQPChannelError):
88
93
 
89
94
    def __repr__(self):