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-2.3.1.pre.198 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-2.3.0.pre.197 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-2.3.0.pre.196 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-2.3.0 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-2.3.0.pre.194 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-2.3.0.pre.192 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-2.3.0.pre.170 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-2.2.2 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-2.2.1 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-2.2.1.pre.181 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-2.2.1.pre.180 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-2.2.0.pre.179 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-2.2.0 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-2.2.0.pre.177 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-2.2.0.pre.173 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-2.2.0.pre.170 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-2.2.0.pre.168 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-2.2.0.pre.167 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-2.2.0.pre.166 lib/rrj/errors/janus/transactions/transaction.rb
ruby_rabbitmq_janus-2.2.0.pre.165 lib/rrj/errors/janus/transactions/transaction.rb