Error

source: bluebase/sm/error.py


exception SmError(**kwargs)[source]

Bases: BbError

A base error for the SM component.

exception SmInvalidDatabasePathError(**kwargs)[source]

Bases: SmError

message: ClassVar[str] = 'Invalid database path'
exception SmOpenedDatabaseOpenError(**kwargs)[source]

Bases: SmError

message: ClassVar[str] = 'Database is already opened'
exception SmClosedDatabaseAccessError(**kwargs)[source]

Bases: SmError

message: ClassVar[str] = 'Database is closed'
exception SmNotAllowedTableNameError(**kwargs)[source]

Bases: SmError

message: ClassVar[str] = 'Not allowed table name'
exception SmInvalidTableNameError(**kwargs)[source]

Bases: SmError

message: ClassVar[str] = 'Invalid table name'
exception SmTableAlreadyExistsError(**kwargs)[source]

Bases: SmError

message: ClassVar[str] = 'Table already exists'
exception SmTableNotFound(**kwargs)[source]

Bases: SmError

message: ClassVar[str] = 'Table not found'
exception SmInvalidAttrNameError(**kwargs)[source]

Bases: SmError

message: ClassVar[str] = 'Invalid attribute name'
exception SmAttrNotFoundError(**kwargs)[source]

Bases: SmError

message: ClassVar[str] = 'Attribute not found'
exception SmInvalidSchemaSizeError(**kwargs)[source]

Bases: SmError

message: ClassVar[str] = 'Invalid schema size'
exception SmIndexAlreadyExistsError(**kwargs)[source]

Bases: SmError

message: ClassVar[str] = 'Index already exists'
exception SmIndexNotFoundError(**kwargs)[source]

Bases: SmError

message: ClassVar[str] = 'Index not found'