rope.base.exceptions

Exceptions

RopeError

Base exception for rope

ResourceNotFoundError

Resource not found exception

RefactoringError

Errors for performing a refactoring

InterruptedTaskError

The task has been interrupted

HistoryError

Errors for history undo/redo operations

ModuleNotFoundError

Module not found exception

AttributeNotFoundError

Attribute not found exception

NameNotFoundError

Name not found exception

BadIdentifierError

The name cannot be resolved

ModuleSyntaxError

Module has syntax errors

ModuleDecodeError

Cannot decode module

Module Contents

exception rope.base.exceptions.RopeError

Bases: Exception

Base exception for rope

exception rope.base.exceptions.ResourceNotFoundError

Bases: RopeError

Resource not found exception

exception rope.base.exceptions.RefactoringError

Bases: RopeError

Errors for performing a refactoring

exception rope.base.exceptions.InterruptedTaskError

Bases: RopeError

The task has been interrupted

exception rope.base.exceptions.HistoryError

Bases: RopeError

Errors for history undo/redo operations

exception rope.base.exceptions.ModuleNotFoundError

Bases: RopeError

Module not found exception

exception rope.base.exceptions.AttributeNotFoundError

Bases: RopeError

Attribute not found exception

exception rope.base.exceptions.NameNotFoundError

Bases: RopeError

Name not found exception

exception rope.base.exceptions.BadIdentifierError

Bases: RopeError

The name cannot be resolved

exception rope.base.exceptions.ModuleSyntaxError(filename, lineno, message)

Bases: RopeError

Module has syntax errors

The filename and lineno fields indicate where the error has occurred.

filename
lineno
message_
exception rope.base.exceptions.ModuleDecodeError(filename, message)

Bases: RopeError

Cannot decode module

filename
message_