automl.errors package

Submodules

automl.errors.customerrors module

Module to define custom errors classes.

exception automl.errors.customerrors.AutoMLError(msg=None)

Bases: Exception

Generic AutoML error.

Used when no built-in exception seems useful but neither creating a new exception seems reasonable.

Parameters:msg (str) – Explanation of the error. Defaults to Unexplained AutoMLError.
msg

Explanation of the error.

Type:str
exception automl.errors.customerrors.AutoMLTestError(test_name=None, msg='Unexplained AutoMLTestError')

Bases: Exception

Generic AutoML test error.

Used when no built-in exception seems useful but neither creating a new exception looks reasonable.

Parameters:
  • msg (str) – Explanation of the error. Defaults to Unexplained AutoMLTestError.
  • test_name (str) – Associated test (the one where the error raised from). Defaults to None.
msg

Explanation of the error.

Type:str
test_name

Associated test (the one where the error raised from).

Type:str
exception automl.errors.customerrors.CurrentlyNonSupportedError(msg='Unexplained CurrentlyNonSupportedError')

Bases: Exception

Error for logic that is still to be implemented.

Parameters:msg (str) – Explanation of the error. Defaults to Unexplained CurrentlyNonSupportedError.
msg

Explanation of the error.

Type:str

Module contents

Module storing custom errros used in the package.