lib/rya.rb in rya-0.4.0 vs lib/rya.rb in rya-0.5.0
- old
+ new
@@ -5,9 +5,16 @@
require "rya/version"
require "rya/core_extensions"
module Rya
+ # Provide errors for the Rya class.
+ class Error < StandardError
+ end
+
+ class MaxAttemptsExceededError < Error
+ end
+
# If you want to use AbortIf from this module, you can use it as Rya::AbortIf
module AbortIf
# To include the methods
extend Object::AbortIf
extend Object::AbortIf::Assert