caikit.core.toolkit.errors ========================== .. py:module:: caikit.core.toolkit.errors .. autoapi-nested-parse:: This file exists for backwards compatibility. It imports from the caikit.core.exceptions package where things moved Exceptions ---------- .. autoapisummary:: caikit.core.toolkit.errors.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