def make_form_error(message):
    """Turn a string into an error that looks like a WTForm validation error.

    This can be used to generate one-off errors, like auth errors, that need
    to be displayed in the same space as WTForm validation errors.
    """
    # WTForm errors are stored in a dict. Keys are the field names, values are
    # a list of errors for that field.
    return {"Error": [message]}