object @exception

node do |exception|
 field = exception.field ? exception.field : 'unknown'
 errors = {}
 errors[field] = [exception.field_message]
 {
   errors: errors
 }
end

node "type" do
  "ArgumentError"
end