Sha256: 574ec7cab0cbf66c410dd9f8ef94cb78b3a96baa31e9c67994c1184be0148a4d

Contents?: true

Size: 615 Bytes

Versions: 92

Compression:

Stored size: 615 Bytes

Contents

# frozen_string_literal: true

module RubyRabbitmqJanus
  module Errors
    module Janus
      # Define a super class for all errors in Janus::Transactions::Transaction
      class BaseTransaction < BaseJanus
        def initialize(message, level = :fatal)
          super "[Transaction]#{message}", level
        end
      end

      module Transaction
        # Error for Janus::Transactions::Transaction#initialize
        class Initialize < RubyRabbitmqJanus::Errors::Janus::BaseTransaction
          def initialize
            super 'Error in initializer'
          end
        end
      end
    end
  end
end

Version data entries

92 entries across 92 versions & 1 rubygems

Version Path
ruby_rabbitmq_janus-3.0.0.pre.336 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-3.0.0.pre.335 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-3.0.0.pre.334 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-3.0.0.pre.330 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-3.0.0.pre.328 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-3.0.0.pre.327 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-2.7.2 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-2.7.2.pre.322 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-2.7.2.pre.320 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-2.7.2.pre.319 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-2.7.2.pre.318 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-2.7.2.pre.317 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-2.7.2.pre.316 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-2.7.2.pre.315 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-2.7.2.pre.314 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-2.7.2.pre.312 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-2.7.2.pre.310 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-2.7.2.pre.309 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-2.7.2.pre.308 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-2.7.2.pre.307 lib/rrj/errors/janus/transactions/transaction.rb