# File lib/amqp/channel.rb, line 1074
    def self.on_error(&block)
      self.error(&block)
    end