code: function (message, component, header) {
      return new DxlError(module.exports.getErrorMessage(
        message, component, header))
    }
docs: Creates a {@link DxlError} with an error message which is formatted
  for use in logging.
  @param {String} message - The base message.
  @param {String} [component] - Description of the system component in which
  the error occurred.
  @param {String} [header] - Prefix to include before the error message.
  @returns {DxlError} The formatted error message.