Sha256: 93135ce05160c260353f313b29b4ee4afbaf9c73009e663a10f3f74744d44ee9
Contents?: true
Size: 616 Bytes
Versions: 3
Compression:
Stored size: 616 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
3 entries across 3 versions & 1 rubygems