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