def type_errors(self, context=None):
try:<EOL><INDENT>results = self._infer_augassign(context=context)<EOL>return [<EOL>result<EOL>for result in results<EOL>if isinstance(result, util.BadBinaryOperationMessage)<EOL>]<EOL><DEDENT>except exceptions.InferenceError:<EOL><INDENT>return []<EOL><DEDENT>
Get a list of type errors which can occur during inference.

        Each TypeError is represented by a :class:`BadBinaryOperationMessage` ,
        which holds the original exception.

        :returns: The list of possible type errors.
        :rtype: list(BadBinaryOperationMessage)