Sha256: 89ae384eb1b25771adaebbffaca722cf645675306b7771aed4b55256c88f68c3

Contents?: true

Size: 759 Bytes

Versions: 1

Compression:

Stored size: 759 Bytes

Contents

vendor = File.expand_path('../vendor', __FILE__)
$:.unshift(vendor) unless $:.include?(vendor)

require 'nesty'

module MessageDriver
  class Error < StandardError; end
  class BrokerNotConfigured < Error; end
  class BrokerAlreadyConfigured < Error; end
  class TransactionError < Error; end
  class TransactionRollbackOnly < TransactionError; end
  class NoSuchDestinationError < Error; end
  class NoSuchConsumerError < Error; end

  class WrappedError < Error
    include Nesty::NestedError
  end
  class QueueNotFound < WrappedError; end
  class ConnectionError < WrappedError; end

  module DontRequeue; end
  class DontRequeueError < Error
    include DontRequeue
  end

  class WrappedDontRequeueError < WrappedError
    include DontRequeue
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
message-driver-0.3.0 lib/message_driver/errors.rb