module Metaractor::HandleErrors

Public Instance Methods

add_error(**args) click to toggle source
# File lib/metaractor/handle_errors.rb, line 14
def add_error(**args)
  context.add_error(object: self, **args)
end
add_errors(**args) click to toggle source
# File lib/metaractor/handle_errors.rb, line 18
def add_errors(**args)
  context.add_errors(object: self, **args)
end
error_messages() click to toggle source
# File lib/metaractor/handle_errors.rb, line 22
def error_messages
  context.error_messages
end
fail_with_error!(**args) click to toggle source
# File lib/metaractor/handle_errors.rb, line 6
def fail_with_error!(**args)
  context.fail_with_error!(object: self, **args)
end
fail_with_errors!(**args) click to toggle source
# File lib/metaractor/handle_errors.rb, line 10
def fail_with_errors!(**args)
  context.fail_with_errors!(object: self, **args)
end