src.exceptions package

Submodules

src.exceptions.exceptions module

exception src.exceptions.exceptions.ClassifierOptionError(message='Provided classifier option is invalid.', code='CLASSIFIER_NOT_FOUND_002')[source]

Bases: Exception

Exception raised for errors when classifier option is invalid.

get_code()[source]

Gets the exception code.

get_message()[source]

Gets the exception message.

exception src.exceptions.exceptions.EstimatorOptionError(message='Provided estimator option is invalid. Default estimators will be used instead.', code='ESTIMATOR_NOT_FOUND_007')[source]

Bases: Exception

Exception raised for errors when estimator option is invalid.

get_code()[source]

Gets the exception code.

get_message()[source]

Gets the exception message.

exception src.exceptions.exceptions.InputDataError(message='Input data is not a string or list of strings.', code='INVALID_DATA_004')[source]

Bases: Exception

Exception raised for errors when input data is invalid.

get_code()[source]

Gets the exception code.

get_message()[source]

Gets the exception message.

exception src.exceptions.exceptions.ModelNotFound(message='Model has not been initialized.', code='MODEL_NOT_FOUND_003')[source]

Bases: Exception

Exception raised for errors when model is not properly initialized.

get_code()[source]

Gets the exception code.

get_message()[source]

Gets the exception message.

exception src.exceptions.exceptions.PathError(message='Provided path is invalid.', code='DL_FILE_NOT_FOUND_001')[source]

Bases: Exception

Exception raised for errors when path is invalid.

get_code()[source]

Gets the exception code.

get_message()[source]

Gets the exception message.

exception src.exceptions.exceptions.StackingClassifierNotSupported(message='StackingClassifier is not supported in this environment.', code='STACKING_CLASSIFIER_NOT_SUPPORTED_006')[source]

Bases: Exception

Exception raised for errors when stacking classifier is not supported.

get_code()[source]

Gets the exception code.

get_message()[source]

Gets the exception message.

exception src.exceptions.exceptions.VotingClassifierNotSupported(message='VotingClassifier is not supported in this environment.', code='VOTING_CLASSIFIER_NOT_SUPPORTED_006')[source]

Bases: Exception

Exception raised for errors when voting classifier is not supported.

get_code()[source]

Gets the exception code.

get_message()[source]

Gets the exception message.

exception src.exceptions.exceptions.VotingOptionForVotingClassifierError(message='Voting option for VotingClassifier is invalid.', code='INVALID_VOTING_OPTION_005')[source]

Bases: Exception

Exception raised for errors when voting option is invalid.

get_code()[source]

Gets the exception code.

get_message()[source]

Gets the exception message.

Module contents