typeddfs.df_errors
ο
Exceptions used by typeddfs.
Module Contentsο
- exception typeddfs.df_errors.ClashError(*args, keys: Optional[AbstractSet[str]] = None)ο
Duplicate columns or other keys were added.
- keysο
The clashing name(s)
Initialize self. See help(type(self)) for accurate signature.
- exception typeddfs.df_errors.DfTypeConstructionErrorο
An inconsistency prevents creating the DataFrame type.
Initialize self. See help(type(self)) for accurate signature.
- exception typeddfs.df_errors.FilenameSuffixError(*args, key: Optional[str] = None, filename: Optional[str] = None)ο
A filename extension was not recognized.
- keyο
The unrecognized suffix
- filenameο
The bad filename
Initialize self. See help(type(self)) for accurate signature.
- exception typeddfs.df_errors.FormatDiscouragedError(*args, key: Optional[str] = None)ο
A requested format is not recommended.
- keyο
The problematic format name
Initialize self. See help(type(self)) for accurate signature.
- exception typeddfs.df_errors.FormatInsecureError(*args, key: Optional[str] = None)ο
A requested format is less secure than required or requested.
- keyο
The problematic format name
Initialize self. See help(type(self)) for accurate signature.
- exception typeddfs.df_errors.HashAlgorithmMissingError(*args, key: Optional[str] = None)ο
The hash algorithm was not found in
hashlib
.- keyο
The missing hash algorithm
Initialize self. See help(type(self)) for accurate signature.
- exception typeddfs.df_errors.HashContradictsExistingError(*args, key: Optional[str] = None, original: Optional[str] = None, new: Optional[str] = None)ο
A hash for the filename already exists in the directory hash list, but they differ.
- keyο
The filename (excluding parents)
- originalο
Hex hash found listed for the file
- newο
Hex hash that was to be written
- filenameο
The filename of the listed file
Initialize self. See help(type(self)) for accurate signature.
- exception typeddfs.df_errors.HashDidNotValidateError(*args, actual: Optional[str] = None, expected: Optional[str] = None)ο
The hashes did not validate (expected != actual).
- actualο
The actual hex-encoded hash
- expectedο
The expected hex-encoded hash
Initialize self. See help(type(self)) for accurate signature.
- exception typeddfs.df_errors.HashEntryExistsError(*args, key: Optional[str] = None)ο
The file is already listed in the hash dir, and it cannot be overwritten.
- keyο
The existing hash dir path
Initialize self. See help(type(self)) for accurate signature.
- exception typeddfs.df_errors.HashErrorο
Something went wrong with hash file writing or reading.
Initialize self. See help(type(self)) for accurate signature.
- exception typeddfs.df_errors.HashExistsError(*args, key: Optional[str] = None, original: Optional[str] = None, new: Optional[str] = None)ο
A hash for the filename already exists in the directory hash list.
- keyο
The filename (excluding parents)
- originalο
Hex hash found listed for the file
- newο
Hex hash that was to be written
- filenameο
The filename of the listed file
Initialize self. See help(type(self)) for accurate signature.
- exception typeddfs.df_errors.HashFileExistsError(*args, key: Optional[str] = None)ο
The hash file already exists and cannot be overwritten.
- keyο
The existing hash file path or filename
Initialize self. See help(type(self)) for accurate signature.
- exception typeddfs.df_errors.HashFileInvalidError(*args, key: Union[None, pathlib.PurePath, str] = None)ο
The hash file could not be parsed.
- keyο
The path to the hash file
Initialize self. See help(type(self)) for accurate signature.
- exception typeddfs.df_errors.HashFileMissingError(*args, key: Optional[str] = None)ο
The hash file does not exist.
- keyο
The path or filename of the file corresponding to the expected hash file(s)
Initialize self. See help(type(self)) for accurate signature.
- exception typeddfs.df_errors.HashFilenameMissingError(*args, key: Optional[str] = None)ο
The filename was not found listed in the hash file.
- keyο
The filename
Initialize self. See help(type(self)) for accurate signature.
- exception typeddfs.df_errors.HashVerificationErrorο
Something went wrong when validating a hash.
Initialize self. See help(type(self)) for accurate signature.
- exception typeddfs.df_errors.HashWriteErrorο
Something went wrong when writing a hash file.
Initialize self. See help(type(self)) for accurate signature.
- exception typeddfs.df_errors.InvalidDfErrorο
A general typing failure of typeddfs.
Initialize self. See help(type(self)) for accurate signature.
- exception typeddfs.df_errors.LengthMismatchError(*args, key: Optional[str] = None, lengths: AbstractSet[int])ο
The lengths of at least two lists do not match.
- keyο
The key used for lookup
- lengthsο
The lengths
Initialize self. See help(type(self)) for accurate signature.
- exception typeddfs.df_errors.MissingColumnError(*args, key: Optional[str] = None)ο
A required column is missing.
- keyο
The name of the missing column
Initialize self. See help(type(self)) for accurate signature.
- exception typeddfs.df_errors.MultipleHashFilenamesError(*args, key: Optional[str] = None)ο
There are multiple filenames listed in the hash file where only 1 was expected.
- keyο
The filename with duplicate entries
Initialize self. See help(type(self)) for accurate signature.
- exception typeddfs.df_errors.NoValueError(*args, key: Optional[str] = None)ο
No value because the collection is empty.
- keyο
The key used for lookup
Initialize self. See help(type(self)) for accurate signature.
- exception typeddfs.df_errors.NonStrColumnErrorο
A column name is not a string.
Initialize self. See help(type(self)) for accurate signature.
- exception typeddfs.df_errors.NotSingleColumnErrorο
A DataFrame needs to contain exactly 1 column.
Initialize self. See help(type(self)) for accurate signature.
- exception typeddfs.df_errors.PathNotRelativeError(*args, key: Optional[str] = None)ο
The filename is not relative to the hash dir.
- keyο
The filename
Initialize self. See help(type(self)) for accurate signature.
- exception typeddfs.df_errors.RowColumnMismatchError(*args, rows: Optional[Sequence[str]] = None, columns: Optional[Sequence[str]] = None)ο
The row and column names differ.
- rowsο
The row names, in order
- columnsο
The column names, in order
Initialize self. See help(type(self)) for accurate signature.
- exception typeddfs.df_errors.UnexpectedColumnError(*args, key: Optional[str] = None)ο
An extra/unrecognized column is present.
- keyο
The name of the unexpected column
Initialize self. See help(type(self)) for accurate signature.
- exception typeddfs.df_errors.UnexpectedIndexNameError(*args, key: Optional[str] = None)ο
An extra/unrecognized index level is present.
- keyο
The name of the unexpected index level
Initialize self. See help(type(self)) for accurate signature.
- exception typeddfs.df_errors.UnsupportedOperationErrorο
Something could not be performed, in general.
Initialize self. See help(type(self)) for accurate signature.
- exception typeddfs.df_errors.ValueNotUniqueError(*args, key: Optional[str] = None, values: Optional[AbstractSet[str]] = None)ο
There is more than 1 unique value.
- keyο
The key used for lookup
- valuesο
The set of values
Initialize self. See help(type(self)) for accurate signature.
- exception typeddfs.df_errors.VerificationFailedError(*args, key: Optional[str] = None)ο
A custom typing verification failed.
- keyο
The key name of the verification that failed
Initialize self. See help(type(self)) for accurate signature.
- exception typeddfs.df_errors.WritePermissionsError(*args, key: Optional[str] = None)ο
Couldnβt write to a file.
Initialize self. See help(type(self)) for accurate signature.