lib/rabbit_carrots.rb in rabbit_carrots-0.1.13 vs lib/rabbit_carrots.rb in rabbit_carrots-0.1.14
- old
+ new
@@ -6,7 +6,19 @@
require 'rabbit_carrots/railtie' if defined?(Rails)
module RabbitCarrots
class Error < StandardError; end
- # Your code goes here...
+ module EventHandlers
+ module Errors
+ class IrrelevantMessage < StandardError
+ end
+
+ class NackMessage < StandardError
+ end
+
+ class NackAndRequeueMessage < StandardError
+ end
+ end
+ end
+
end