lib/rabbit_carrots.rb in rabbit_carrots-1.0.1 vs lib/rabbit_carrots.rb in rabbit_carrots-1.0.2
- old
+ new
@@ -1,26 +1,11 @@
# frozen_string_literal: true
require_relative 'rabbit_carrots/version'
+require 'rabbit_carrots/errors'
require 'rabbit_carrots/connection'
-require 'rabbit_carrots/core'
require 'rabbit_carrots/configuration'
require 'rabbit_carrots/railtie' if defined?(Rails)
+require 'rabbit_carrots/core'
module RabbitCarrots
- class Error < StandardError; end
-
- module EventHandlers
- module Errors
- class IrrelevantMessage < StandardError
- end
-
- class NackMessage < StandardError
- end
-
- class NackAndRequeueMessage < StandardError
- end
-
- class PlaceholderError < Error; end
- end
- end
end