rope.base.exceptions ==================== .. py:module:: rope.base.exceptions Exceptions ---------- .. autoapisummary:: rope.base.exceptions.RopeError rope.base.exceptions.ResourceNotFoundError rope.base.exceptions.RefactoringError rope.base.exceptions.InterruptedTaskError rope.base.exceptions.HistoryError rope.base.exceptions.ModuleNotFoundError rope.base.exceptions.AttributeNotFoundError rope.base.exceptions.NameNotFoundError rope.base.exceptions.BadIdentifierError rope.base.exceptions.ModuleSyntaxError rope.base.exceptions.ModuleDecodeError Module Contents --------------- .. py:exception:: RopeError Bases: :py:obj:`Exception` Base exception for rope .. py:exception:: ResourceNotFoundError Bases: :py:obj:`RopeError` Resource not found exception .. py:exception:: RefactoringError Bases: :py:obj:`RopeError` Errors for performing a refactoring .. py:exception:: InterruptedTaskError Bases: :py:obj:`RopeError` The task has been interrupted .. py:exception:: HistoryError Bases: :py:obj:`RopeError` Errors for history undo/redo operations .. py:exception:: ModuleNotFoundError Bases: :py:obj:`RopeError` Module not found exception .. py:exception:: AttributeNotFoundError Bases: :py:obj:`RopeError` Attribute not found exception .. py:exception:: NameNotFoundError Bases: :py:obj:`RopeError` Name not found exception .. py:exception:: BadIdentifierError Bases: :py:obj:`RopeError` The name cannot be resolved .. py:exception:: ModuleSyntaxError(filename, lineno, message) Bases: :py:obj:`RopeError` Module has syntax errors The `filename` and `lineno` fields indicate where the error has occurred. .. py:attribute:: filename .. py:attribute:: lineno .. py:attribute:: message_ .. py:exception:: ModuleDecodeError(filename, message) Bases: :py:obj:`RopeError` Cannot decode module .. py:attribute:: filename .. py:attribute:: message_