core.errors =========== .. py:module:: core.errors Exceptions ---------- .. autoapisummary:: core.errors.CSVError core.errors.MissingColumnsError core.errors.AmbiguousColumnsError core.errors.DuplicateColumnNamesError core.errors.InvalidFormatError core.errors.EmptyFileError core.errors.EmptyLineInFileError core.errors.AlreadyLockedError Module Contents --------------- .. py:exception:: CSVError Bases: :py:obj:`Exception` Common base class for all non-exit exceptions. .. py:exception:: MissingColumnsError(columns: collections.abc.Sequence[str]) Bases: :py:obj:`CSVError` Common base class for all non-exit exceptions. .. py:attribute:: columns .. py:exception:: AmbiguousColumnsError(columns: collections.abc.Mapping[str, collections.abc.Sequence[str]]) Bases: :py:obj:`CSVError` Common base class for all non-exit exceptions. .. py:attribute:: columns .. py:exception:: DuplicateColumnNamesError Bases: :py:obj:`CSVError` Common base class for all non-exit exceptions. .. py:exception:: InvalidFormatError Bases: :py:obj:`CSVError` Common base class for all non-exit exceptions. .. py:exception:: EmptyFileError Bases: :py:obj:`CSVError` Common base class for all non-exit exceptions. .. py:exception:: EmptyLineInFileError Bases: :py:obj:`CSVError` Common base class for all non-exit exceptions. .. py:exception:: AlreadyLockedError Bases: :py:obj:`Exception` Raised if :func:`onegov.core.utils.lock` fails to acquire a lock.