Sha256: d28e681ab6e7a2b2314b19becb8476b94ecdb35ec844b312d278a2e0865dbfb8

Contents?: true

Size: 1.04 KB

Versions: 106

Compression:

Stored size: 1.04 KB

Contents

# frozen_string_literal: true

module RubyRabbitmqJanus
  module Errors
    module Rabbit
      # Define a super class for all error in Option class
      class BasePropertie < BaseRabbit
        def initialize(message, level = :fatal)
          super("[Propertie] #{message}", level)
        end
      end

      module Propertie
        # Error for Rabbit::Propertie#initialize
        class Initialize < RubyRabbitmqJanus::Errors::Rabbit::BasePropertie
          def initialize
            super 'Error in initializer'
          end
        end

        # Error for Rabbit::Propertie#options
        class Options < RubyRabbitmqJanus::Errors::Rabbit::BasePropertie
          def initialize
            super 'Error for create hash to propertie message'
          end
        end

        # Error for Rabbit::Propertie#options_admin
        class OptionsAdmin < RubyRabbitmqJanus::Errors::Rabbit::BasePropertie
          def initialize
            super 'Error for create hash to propertie message admin'
          end
        end
      end
    end
  end
end

Version data entries

106 entries across 106 versions & 1 rubygems

Version Path
ruby_rabbitmq_janus-3.0.0 lib/rrj/errors/rabbit/propertie.rb
ruby_rabbitmq_janus-3.0.0.pre.387 lib/rrj/errors/rabbit/propertie.rb
ruby_rabbitmq_janus-3.0.0.pre.385 lib/rrj/errors/rabbit/propertie.rb
ruby_rabbitmq_janus-3.0.0.pre.384 lib/rrj/errors/rabbit/propertie.rb
ruby_rabbitmq_janus-3.0.0.pre.382 lib/rrj/errors/rabbit/propertie.rb
ruby_rabbitmq_janus-3.0.0.pre.366 lib/rrj/errors/rabbit/propertie.rb
ruby_rabbitmq_janus-3.0.0.pre.364 lib/rrj/errors/rabbit/propertie.rb
ruby_rabbitmq_janus-3.0.0.pre.358 lib/rrj/errors/rabbit/propertie.rb
ruby_rabbitmq_janus-3.0.0.pre.354 lib/rrj/errors/rabbit/propertie.rb
ruby_rabbitmq_janus-3.0.0.pre.352 lib/rrj/errors/rabbit/propertie.rb
ruby_rabbitmq_janus-3.0.0.pre.351 lib/rrj/errors/rabbit/propertie.rb
ruby_rabbitmq_janus-3.0.0.pre.336 lib/rrj/errors/rabbit/propertie.rb
ruby_rabbitmq_janus-3.0.0.pre.335 lib/rrj/errors/rabbit/propertie.rb
ruby_rabbitmq_janus-3.0.0.pre.334 lib/rrj/errors/rabbit/propertie.rb
ruby_rabbitmq_janus-3.0.0.pre.330 lib/rrj/errors/rabbit/propertie.rb
ruby_rabbitmq_janus-3.0.0.pre.328 lib/rrj/errors/rabbit/propertie.rb
ruby_rabbitmq_janus-3.0.0.pre.327 lib/rrj/errors/rabbit/propertie.rb
ruby_rabbitmq_janus-2.7.2 lib/rrj/errors/rabbit/propertie.rb
ruby_rabbitmq_janus-2.7.2.pre.322 lib/rrj/errors/rabbit/propertie.rb
ruby_rabbitmq_janus-2.7.2.pre.320 lib/rrj/errors/rabbit/propertie.rb