Sha256: 2fb1df4e5c65cc1cc8eb6abbe688ea3c86becf1ddc5d96ce2d87348f1ea96171

Contents?: true

Size: 797 Bytes

Versions: 10

Compression:

Stored size: 797 Bytes

Contents

# frozen_string_literal: true

module Mimi
  module Messaging
    #
    # Error definitions
    #

    # Generic error in the Messaging layer
    #
    # Base class for other more specific errors raised by Messaging layer
    #
    class Error < StandardError; end

    # Configuration related errors
    #
    class ConfigurationError < Error; end

    # Connection level error
    #
    # Raised on errors related to network level, e.g. message broker host not reachable
    # or authentication/authorization at message broker failed.
    #
    class ConnectionError < Error; end

    # An error raised to indicate that the message should be NACK-ed, but
    # no additional error logging or processing should happen.
    #
    class NACK < Error; end
  end # module Messaging
end # module Mimi

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
mimi-messaging-1.2.8 lib/mimi/messaging/errors.rb
mimi-messaging-1.2.7 lib/mimi/messaging/errors.rb
mimi-messaging-1.2.6 lib/mimi/messaging/errors.rb
mimi-messaging-1.2.5 lib/mimi/messaging/errors.rb
mimi-messaging-1.2.4 lib/mimi/messaging/errors.rb
mimi-messaging-1.2.2 lib/mimi/messaging/errors.rb
mimi-messaging-1.2.1 lib/mimi/messaging/errors.rb
mimi-messaging-1.1.1 lib/mimi/messaging/errors.rb
mimi-messaging-1.1.0 lib/mimi/messaging/errors.rb
mimi-messaging-1.0.0 lib/mimi/messaging/errors.rb