Sha256: d7e9a07ab36731f37d0e54bcef00262bfbe5adb8405570e3f52111eca8bc52d0

Contents?: true

Size: 827 Bytes

Versions: 26

Compression:

Stored size: 827 Bytes

Contents

# frozen_string_literal: true

module RubyRabbitmqJanus
  module Errors
    module Process
      # Define a super class for all error in Process::Concurency::Event class
      class BaseEvent < RubyRabbitmqJanus::Errors::Process::BaseConcurency
        def initialize(message)
          super "[Event] #{message}"
        end
      end

      module Event
        # Error for Process::Concurency::Event#initialize
        class Initializer < RubyRabbitmqJanus::Errors::Process::BaseEvent
          def initializer
            super 'Error Event initializer'
          end
        end

        # Error for Process::Concurency::Event#run
        class Run < RubyRabbitmqJanus::Errors::Process::BaseEvent
          def initializer
            super 'Error running block code'
          end
        end
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
ruby_rabbitmq_janus-3.0.0.pre.334 lib/rrj/errors/process/event.rb
ruby_rabbitmq_janus-3.0.0.pre.330 lib/rrj/errors/process/event.rb
ruby_rabbitmq_janus-3.0.0.pre.328 lib/rrj/errors/process/event.rb
ruby_rabbitmq_janus-3.0.0.pre.327 lib/rrj/errors/process/event.rb
ruby_rabbitmq_janus-2.7.2 lib/rrj/errors/process/event.rb
ruby_rabbitmq_janus-2.7.2.pre.322 lib/rrj/errors/process/event.rb
ruby_rabbitmq_janus-2.7.2.pre.320 lib/rrj/errors/process/event.rb
ruby_rabbitmq_janus-2.7.2.pre.319 lib/rrj/errors/process/event.rb
ruby_rabbitmq_janus-2.7.2.pre.318 lib/rrj/errors/process/event.rb
ruby_rabbitmq_janus-2.7.2.pre.317 lib/rrj/errors/process/event.rb
ruby_rabbitmq_janus-2.7.2.pre.316 lib/rrj/errors/process/event.rb
ruby_rabbitmq_janus-2.7.2.pre.315 lib/rrj/errors/process/event.rb
ruby_rabbitmq_janus-2.7.2.pre.314 lib/rrj/errors/process/event.rb
ruby_rabbitmq_janus-2.7.2.pre.312 lib/rrj/errors/process/event.rb
ruby_rabbitmq_janus-2.7.2.pre.310 lib/rrj/errors/process/event.rb
ruby_rabbitmq_janus-2.7.2.pre.309 lib/rrj/errors/process/event.rb
ruby_rabbitmq_janus-2.7.2.pre.308 lib/rrj/errors/process/event.rb
ruby_rabbitmq_janus-2.7.2.pre.307 lib/rrj/errors/process/event.rb
ruby_rabbitmq_janus-2.7.2.pre.306 lib/rrj/errors/process/event.rb
ruby_rabbitmq_janus-2.7.2.pre.305 lib/rrj/errors/process/event.rb