def METHOD_NAME(self, *args, **kwargs) -> Optional[Exception]:
    """
    Sends data using the :meth:`USBtoCANBoard.send_data` method.
    Returns:
        Optional[Exception]: If data was sent successfully, nothing is returned.
        Otherwise, the exception that was raised in sending is returned.
    """
    try:
        self.board.METHOD_NAME(*args, **kwargs)
        return None
    except (SerialException, USB2CANException) as e:
        rospy.logerr(f"Error writing packet: {e}")
        return e