code: function sendError (
    event, message, recordName, socketWrapper, onError, options, context, metaData
  ) {
    options.logger.error(event, message, metaData)
    if (socketWrapper) {
      socketWrapper.sendError(C.TOPIC.RECORD, event, message)
    }
    if (onError) {
      onError.call(context, event, message, recordName, socketWrapper)
    }
  }
docs: Sends an error to the socketWrapper that requested the
  record