def METHOD_NAME(self, errorBarItem: ErrorBarItem) -> None:
    error_data = []
    index = next(self.index_counter)
    # make sure the plot actually has data:
    if errorBarItem.opts['x'] is None or errorBarItem.opts['y'] is None:
        return None
    header_naming_map = {
        "left": "x_min_error",
        "right": "x_max_error",
        "bottom": "y_min_error",
        "top": "y_max_error"
    }
    # grab the base-points
    self.header.extend([f'x{index:04}_error', f'y{index:04}_error'])
    error_data.extend([errorBarItem.opts['x'], errorBarItem.opts['y']])
    # grab the error bars
    for error_direction, header_label in header_naming_map.items():
        if (error := errorBarItem.opts[error_direction]) is not None:
            self.header.extend([f'{header_label}_{index:04}'])
            error_data.append(error)
    self.data.append(tuple(error_data))
    return None