sasdata.data_util.loader_exceptions module¶
Exceptions specific to loading data.
- exception sasdata.data_util.loader_exceptions.DataReaderException(e: str | None = None)¶
Bases:
Exception
Exception for files that were able to mostly load, but had minor issues along the way. Any exceptions of this type should be put into the datainfo.errors
- exception sasdata.data_util.loader_exceptions.DefaultReaderException(e: str | None = None)¶
Bases:
Exception
Exception for files with no associated reader. This should be thrown by default readers only to tell Loader to try the next reader.
- exception sasdata.data_util.loader_exceptions.FileContentsException(e: str | None = None)¶
Bases:
Exception
Exception for files with an associated reader, but with no loadable data. This is useful for catching loader or file format issues.
- exception sasdata.data_util.loader_exceptions.NoKnownLoaderException(e: str | None = None)¶
Bases:
Exception
Exception for files with no associated reader based on the file extension of the loaded file. This exception should only be thrown by loader.py.