.. _notimplemented-raised:

notimplemented-raised / E0711
=============================

**Message emitted:**

NotImplemented raised - should raise NotImplementedError

**Description:**

*Used when NotImplemented is raised instead of NotImplementedError*

**Problematic code:**

.. literalinclude:: /data/messages/n/notimplemented-raised/bad.py
   :language: python

**Correct code:**

.. literalinclude:: /data/messages/n/notimplemented-raised/good.py
   :language: python



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