code: function (message, component, header) {
      if (typeof header === 'undefined') {
        header = ''
      }
      if (component) {
        if (header) {
          header += ' '
        }
        header += '('
        header += component
        header += ')'
      }
      if (header) {
        message = header + ': ' + message
      }
      return message
    }
docs: Returns a formatted error message string for use in log and exception
  messages.
  @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 {String} The formatted error message.