Skip to content

vtf textbuffer exceptions

srccircumflex edited this page Jan 6, 2023 · 3 revisions

↑ vtf-textbuffer

exceptions

class exceptions.ConfigurationError(RuntimeError)

Raised when an action is not possible due to the current configuration of the buffer components.

class exceptions.ConfigurationWarning(RuntimeWarning)

Raised when the current configuration of the buffer components is not expected.

class exceptions.CursorChunkLoadError(CursorError)

Raised if the position cannot be reached via the swap because the chunk of a position or direction is not available.

class exceptions.CursorChunkMetaError(CursorChunkLoadError)

FATAL ERROR

Raised when chunks of the required side are present, but the metadata indicates that a chunk for the expected position cannot be loaded. This error should never occur unless the swap's metadata or the database is corrupted.

class exceptions.CursorError(EOFError)

Base Exception type for cursor movement errors.

class exceptions.CursorNegativeIndexingError(CursorError)

Raised when a negative value is passed as the expected position.

class exceptions.CursorPlacingError(CursorError)

Raised when a required chunk was loaded or not needed, but the final cursor positioning in the rows of the TextBuffer was not successful (may indicate a too high value).

class exceptions.DatabaseCorruptedError(DatabaseError)

FATAL ERROR

Raised when the data in the database does not meet the expectations.

class exceptions.DatabaseFilesError(DatabaseInitError)

Raised when there are conflicts with the files of a database.

class exceptions.DatabaseInitError(DatabaseError)

Basic Exception type for errors during the creation of a database.

class exceptions.DatabaseTableError(DatabaseInitError)

Raised when errors occur during the creation of tables in a database.

Date: 21 Dec 2022
Version: 0.1
Author: Adrian Hoefflin [srccircumflex]
Doc-Generator: "pyiStructure-RSTGenerator" <prototype>

Clone this wiki locally