Sha256: 3a5b3a62da4c49dc5d0698b5676ab031aefe0828bc601ea706ca35ad239ea5aa
Contents?: true
Size: 870 Bytes
Versions: 44
Compression:
Stored size: 870 Bytes
Contents
# frozen_string_literal: true module RubyRabbitmqJanus module Errors module Rabbit # Define a super class for all errors in Rabbit::Publisher::PublisherAdmin class BasePublisherAdmin < BaseErrorPublisher def initialize(message, level = :fatal) super "[Admin] #{message}", level end end module PublisherAdmin # Error for Rabbit::Publisher::PublisherAdmin#initialize class Initialize < RubyRabbitmqJanus::Errors::Rabbit::BasePublisherAdmin def initialize super 'Error in initializer' end end # Error for Rabbit::Publisher::PublisherAdmin#publish class Publish < RubyRabbitmqJanus::Errors::Rabbit::BasePublisherAdmin def initialize super 'Error for publish message' end end end end end end
Version data entries
44 entries across 44 versions & 1 rubygems