:py:mod:`wsinfer.errors` ======================== .. py:module:: wsinfer.errors .. autoapi-nested-parse:: Exceptions used in WSInfer. Module Contents --------------- .. py:exception:: WsinferException Bases: :py:obj:`Exception` Base class for wsinfer exceptions. .. py:exception:: UnknownArchitectureError Bases: :py:obj:`WsinferException` Architecture is unknown and cannot be found. .. py:exception:: WholeSlideImageDirectoryNotFound Bases: :py:obj:`WsinferException`, :py:obj:`FileNotFoundError` Base class for wsinfer exceptions. .. py:exception:: DuplicateFilePrefixesFound Bases: :py:obj:`WsinferException` A duplicate file prefix has been found. An example of duplicate file prefixes is files a.svs and a.tif. WSInfer relies on the stems as a unique ID, so we cannot allow duplicate stems. .. py:exception:: WholeSlideImagesNotFound Bases: :py:obj:`WsinferException`, :py:obj:`FileNotFoundError` Base class for wsinfer exceptions. .. py:exception:: ResultsDirectoryNotFound Bases: :py:obj:`WsinferException`, :py:obj:`FileNotFoundError` Base class for wsinfer exceptions. .. py:exception:: PatchDirectoryNotFound Bases: :py:obj:`WsinferException`, :py:obj:`FileNotFoundError` Base class for wsinfer exceptions. .. py:exception:: CannotReadSpacing Bases: :py:obj:`WsinferException` Base class for wsinfer exceptions. .. py:exception:: NoBackendException Bases: :py:obj:`WsinferException` Base class for wsinfer exceptions. .. py:exception:: BackendNotAvailable Bases: :py:obj:`WsinferException` The requested backend is not available.