core.errors

Exceptions

CSVError

Common base class for all non-exit exceptions.

MissingColumnsError

Common base class for all non-exit exceptions.

AmbiguousColumnsError

Common base class for all non-exit exceptions.

DuplicateColumnNamesError

Common base class for all non-exit exceptions.

InvalidFormatError

Common base class for all non-exit exceptions.

EmptyFileError

Common base class for all non-exit exceptions.

EmptyLineInFileError

Common base class for all non-exit exceptions.

AlreadyLockedError

Raised if onegov.core.utils.lock() fails to acquire a lock.

Module Contents

exception core.errors.CSVError[source]

Bases: Exception

Common base class for all non-exit exceptions.

exception core.errors.MissingColumnsError(columns: Sequence[str])[source]

Bases: CSVError

Common base class for all non-exit exceptions.

columns[source]
exception core.errors.AmbiguousColumnsError(columns: Mapping[str, Sequence[str]])[source]

Bases: CSVError

Common base class for all non-exit exceptions.

columns[source]
exception core.errors.DuplicateColumnNamesError[source]

Bases: CSVError

Common base class for all non-exit exceptions.

exception core.errors.InvalidFormatError[source]

Bases: CSVError

Common base class for all non-exit exceptions.

exception core.errors.EmptyFileError[source]

Bases: CSVError

Common base class for all non-exit exceptions.

exception core.errors.EmptyLineInFileError[source]

Bases: CSVError

Common base class for all non-exit exceptions.

exception core.errors.AlreadyLockedError[source]

Bases: Exception

Raised if onegov.core.utils.lock() fails to acquire a lock.