def serialize_measurement(measurement):
    """Serializes a `openff.evaluator.unit.Measurement` into a dictionary of the form
    `{'value', 'error'}`.

    Parameters
    ----------
    measurement : openff.evaluator.unit.Measurement
        The measurement to serialize

    Returns
    -------
    dict of str and str
        A dictionary representation of a openff.evaluator.unit.Measurement
        with keys of {"value", "error"}
    """
    return {"value": measurement.value, "error": measurement.error}