lib/metaractor.rb in metaractor-1.2.1 vs lib/metaractor.rb in metaractor-2.0.0

- old
+ new

@@ -1,8 +1,9 @@ require 'metaractor/version' require 'interactor' require 'metaractor/errors' +require 'metaractor/handle_errors' require 'metaractor/context_errors' require 'metaractor/parameters' require 'metaractor/run_with_context' require 'metaractor/context_validity' require 'metaractor/chain_failures' @@ -36,10 +37,10 @@ @modules = mods end def self.default_modules [ - { module: Metaractor::Errors, method: :include }, + { module: Metaractor::HandleErrors, method: :include }, { module: Metaractor::Parameters, method: :include }, { module: Metaractor::RunWithContext, method: :include }, { module: Metaractor::ChainFailures, method: :include } ] end