 # `group` is an optional group ID which will be used to wrap all error
 # packets emitted by the component.
 exports.MultiError = (component, group = '', errorPort = 'error', forwardedGroups = [], scope = null) ->
+  platform.deprecated 'noflo.helpers.MultiError is deprecated. Send errors to error port instead'
   component.hasErrors = false
   component.errors = []
   group = component.name if component.name and not group

    if component.outPorts.error
      component.forwardBrackets[inPort].push 'error'
  return

setupSendDefaults = (component) ->
  portsWithDefaults = Object.keys(component.inPorts.ports).filter (p) ->

# MapComponent maps a single inport to a single outport, forwarding all
# groups from in to out and calling `func` on each incoming packet
exports.MapComponent = (component, func, config) ->
  platform.deprecated 'noflo.helpers.MapComponent is deprecated. Please port to Process API'
  config = {} unless config
  config.inPort = 'in' unless config.inPort
  config.outPort = 'out' unless config.outPort
