lib/metaractor/handle_errors.rb in metaractor-3.3.0 vs lib/metaractor/handle_errors.rb in metaractor-3.3.2
- old
+ new
@@ -1,6 +1,7 @@
module Metaractor
class Error < StandardError; end
+
class InvalidError < Error; end
module HandleErrors
def fail_with_error!(**args)
context.fail_with_error!(object: self, **args)