.. _astroid-error:

astroid-error / F0002
=====================

**Message emitted:**

%s: %s

**Description:**

*Used when an unexpected error occurred while building the Astroid  representation. This is usually accompanied by a traceback. Please report such errors !*


**Correct code:**

.. literalinclude:: /data/messages/a/astroid-error/good.py
   :language: python

**Additional details:**

You can help us make the doc better `by contributing <https://github.com/PyCQA/pylint/issues/5953>`_ !


Created by the `main <https://github.com/PyCQA/pylint/blob/main/pylint/lint/pylinter.py>`__ checker.