Sha256: c0049095d539ec7f788d345c3d353fc205c049850275ec9fe32faa7d5f3da33c

Contents?: true

Size: 606 Bytes

Versions: 21

Compression:

Stored size: 606 Bytes

Contents

# frozen_string_literal: true

module RubyRabbitmqJanus
  module Errors
    # @author VAILLANT Jeremy <jeremy.vaillant@dazzl.tv>
    # Define errors with Rabbitmq when request is not sending
    class RequestNotExecuted < Errors::RRJError
      def initialize(request)
        super "Error in request executed : #{request}", :error
      end
    end

    # @author VAILLANT Jeremy <jeremy.vaillant@dazzl.tv>
    # Define errors if connection to rabbitmq is failed
    class ConnectionRabbitmqFailed < Errors::RRJError
      def initialize(message)
        super message, :fatal
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
ruby_rabbitmq_janus-1.1.12 lib/rrj/errors/rabbit.rb
ruby_rabbitmq_janus-1.1.11 lib/rrj/errors/rabbit.rb
ruby_rabbitmq_janus-1.1.10 lib/rrj/errors/rabbit.rb
ruby_rabbitmq_janus-1.1.9 lib/rrj/errors/rabbit.rb
ruby_rabbitmq_janus-1.1.8 lib/rrj/errors/rabbit.rb
ruby_rabbitmq_janus-1.1.7 lib/rrj/errors/rabbit.rb
ruby_rabbitmq_janus-1.1.6 lib/rrj/errors/rabbit.rb
ruby_rabbitmq_janus-1.1.5 lib/rrj/errors/rabbit.rb
ruby_rabbitmq_janus-1.1.4 lib/rrj/errors/rabbit.rb
ruby_rabbitmq_janus-1.1.3 lib/rrj/errors/rabbit.rb
ruby_rabbitmq_janus-1.1.2 lib/rrj/errors/rabbit.rb
ruby_rabbitmq_janus-1.1.1 lib/rrj/errors/rabbit.rb
ruby_rabbitmq_janus-1.1.0 lib/rrj/errors/rabbit.rb
ruby_rabbitmq_janus-1.0.8 lib/rrj/errors/rabbit.rb
ruby_rabbitmq_janus-1.0.7 lib/rrj/errors/rabbit.rb
ruby_rabbitmq_janus-1.0.6 lib/rrj/errors/rabbit.rb
ruby_rabbitmq_janus-1.0.5 lib/rrj/errors/rabbit.rb
ruby_rabbitmq_janus-1.0.4 lib/rrj/errors/rabbit.rb
ruby_rabbitmq_janus-1.0.3 lib/rrj/errors/rabbit.rb
ruby_rabbitmq_janus-1.0.2 lib/rrj/errors/rabbit.rb