Module: Dry::Mutations::Extensions::ErrorHash

Defined in:
lib/dry/mutations/extensions/error_hash.rb

Instance Method Summary collapse

Instance Method Details

#messageObject



5
6
7
# File 'lib/dry/mutations/extensions/error_hash.rb', line 5

def message
  super.map.with_index(1) { |kv, i| "#{i}. " << kv.join(': ') }.join("\n")
end