caikit.core.exceptions ====================== .. py:module:: caikit.core.exceptions Submodules ---------- .. toctree:: :maxdepth: 1 /autoapi/caikit/core/exceptions/caikit_core_exception/index /autoapi/caikit/core/exceptions/error_handler/index /autoapi/caikit/core/exceptions/validation_error/index Exceptions ---------- .. autoapisummary:: caikit.core.exceptions.DataValidationError Package Contents ---------------- .. py:exception:: DataValidationError(reason: str, item_number: Optional[int] = None) Bases: :py:obj:`Exception` This error is used for data validation problems during training .. py:attribute:: _reason .. py:attribute:: _item_number :value: None .. py:property:: reason :type: str The reason given for this data validation error .. py:property:: item_number :type: Optional[int] The index of the training data item that failed validation. Probably zero indexed