def METHOD_NAME(self):
    """Get all error messages."""
    notes = self.getnotes(origin="translator").split("\n")
    errordict = {}
    for note in notes:
        if "(pofilter) " in note:
            error = note.replace("(pofilter) ", "")
            errorname, errortext = error.split(": ", 1)
            errordict[errorname] = errortext
    return errordict