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