lib/sc4ry/exceptions.rb in sc4ry-0.1.3 vs lib/sc4ry/exceptions.rb in sc4ry-0.1.4
- old
+ new
@@ -1,6 +1,11 @@
module Sc4ry
module Exceptions
- class CircuitBreaked < StandardError; end
+ class CircuitBreaked < StandardError
+ def initialize(msg="Circuit just opened")
+ super(msg)
+ end
+
+ end
end
end
\ No newline at end of file