logitorch.datasets.exceptions ============================= .. py:module:: logitorch.datasets.exceptions Exceptions ---------- .. autoapisummary:: logitorch.datasets.exceptions.AbductionClosedWorldAssumptionError logitorch.datasets.exceptions.DatasetNameError logitorch.datasets.exceptions.FileSizeError logitorch.datasets.exceptions.SplitSetError logitorch.datasets.exceptions.TaskError Module Contents --------------- .. py:exception:: AbductionClosedWorldAssumptionError Bases: :py:obj:`Exception` An error is raised when the abduction task is chosen in a closed-world assumption setting Initialize self. See help(type(self)) for accurate signature. .. py:attribute:: message :value: 'AbductionClosedWolrdAssumptionError: Abduction task exists only in open-world assumption (OWA) setting' .. py:exception:: DatasetNameError Bases: :py:obj:`Exception` An error is raised when the dataset name is wrong Initialize self. See help(type(self)) for accurate signature. .. py:attribute:: message :value: 'DatasetNameError: Dataset name is wrong' .. py:exception:: FileSizeError Bases: :py:obj:`Exception` An error is raised when the downloaded dataset has a wrong size Initialize self. See help(type(self)) for accurate signature. .. py:attribute:: message :value: 'FileSizeError: Wrong file size' .. py:exception:: SplitSetError(split_sets: List[str]) Bases: :py:obj:`Exception` An error is raised when the split set is wrong Initialize self. See help(type(self)) for accurate signature. .. py:attribute:: message :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """SplitSetError: Dataset name is wrong The split sets are: Uninferable""" .. raw:: html
.. py:exception:: TaskError Bases: :py:obj:`Exception` An error is raised when the task is wrong Initialize self. See help(type(self)) for accurate signature. .. py:attribute:: message :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """TaskError: Task is not found """ .. raw:: html