Sha256: 18a18c072fe1a3e216a3befe9ff0bcc86b8e127e9bca2dbf4caf1a18f67bbfeb

Contents?: true

Size: 673 Bytes

Versions: 5

Compression:

Stored size: 673 Bytes

Contents

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

require 'nesty'

module MessageDriver
  class Error < StandardError; 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

5 entries across 5 versions & 1 rubygems

Version Path
message-driver-0.2.2 lib/message_driver/errors.rb
message-driver-0.2.1 lib/message_driver/errors.rb
message-driver-0.2.0 lib/message_driver/errors.rb
message-driver-0.2.0.rc2 lib/message_driver/errors.rb
message-driver-0.2.0.rc1 lib/message_driver/errors.rb