lib/stance.rb in stance-0.7.1 vs lib/stance.rb in stance-0.8.0
- old
+ new
@@ -2,10 +2,12 @@
require 'stance/version'
require 'stance/engine'
module Stance
- class EventNotFound < StandardError; end
+ class Error < StandardError; end
+ class EventNotFound < Error; end
+ class DuplicateEvent < Error; end
mattr_accessor :disabled_events
@@disabled_events = []
def self.disable(*events)