lenskit.diagnostics#
Warning and error classes and general LensKit diagnostic code.
Exceptions#
Warning raised for detectable problems with input data. |
|
Error raised for detectable problesms with input data. |
|
The requested field does not exist. |
|
Warning raised for detectable problems with component configurations. |
|
Warnings for runtime type check failures. |
|
Pipeline configuration errors. |
|
Pipeline configuration and setup warnings. We also emit warnings to the |
Module Contents#
- exception lenskit.diagnostics.DataWarning#
Bases:
UserWarningWarning raised for detectable problems with input data.
- exception lenskit.diagnostics.DataError#
Bases:
ExceptionError raised for detectable problesms with input data.
- exception lenskit.diagnostics.FieldError(entity, field)#
Bases:
KeyErrorThe requested field does not exist.
- exception lenskit.diagnostics.ConfigWarning#
Bases:
UserWarningWarning raised for detectable problems with component configurations.
- exception lenskit.diagnostics.TypecheckWarning#
Bases:
UserWarningWarnings for runtime type check failures.
- exception lenskit.diagnostics.PipelineError#
Bases:
ExceptionPipeline configuration errors.
Note
This exception is only to note problems with the pipeline configuration and structure (e.g. circular dependencies). Errors running the pipeline are raised as-is.
- exception lenskit.diagnostics.PipelineWarning#
Bases:
WarningPipeline configuration and setup warnings. We also emit warnings to the logger in many cases, but this allows critical ones to be visible even if the client code has not enabled logging.
Note
This warning is only to note problems with the pipeline configuration and structure (e.g. circular dependencies). Errors running the pipeline are raised as-is.