mlm_insights.core.exceptions package¶
Submodules¶
mlm_insights.core.exceptions.component_deserialize_exception module¶
- exception mlm_insights.core.exceptions.component_deserialize_exception.ComponentDeserializeException(component_name: str)¶
Bases:
Exception
Exception raised when metric/SFC deserialization fails
- Attributes:
message – explanation of the error
mlm_insights.core.exceptions.feature_mismatch_exception module¶
- exception mlm_insights.core.exceptions.feature_mismatch_exception.FeatureMismatchException(feature_metadata_1: FeatureMetadata, feature_metadata_2: FeatureMetadata)¶
Bases:
Exception
Exception raised when a feature from 2 profiles are not the same
- Attributes:
message – explanation of the error
mlm_insights.core.exceptions.invalid_input_query_error module¶
- exception mlm_insights.core.exceptions.invalid_input_query_error.InvalidInputQueryError(message: str)¶
Bases:
Exception
Exception raised when query of nested Json Reader gives wrong result.
- Attributes:
message – explanation of the error
mlm_insights.core.exceptions.invalid_parameter_exception module¶
- exception mlm_insights.core.exceptions.invalid_parameter_exception.InvalidParameterException(parameter: str, component_name: str, message: str)¶
Bases:
Exception
Exception raised when a parameter is invalid for eg: invalid types
- Attributes:
message – explanation of the error
mlm_insights.core.exceptions.invalid_target_prediction_exception module¶
- exception mlm_insights.core.exceptions.invalid_target_prediction_exception.InvalidTargetPredictionException(error_message: str)¶
Bases:
Exception
Exception raised when a component does not get required parameter
- Attributes:
message – explanation of the error
mlm_insights.core.exceptions.metric_merge_exception module¶
- exception mlm_insights.core.exceptions.metric_merge_exception.MetricMergeException(message: str)¶
Bases:
Exception
Exception raised when merging of 2 Metric partitions fails
- Attributes:
message – explanation of the error
mlm_insights.core.exceptions.missing_required_parameter_exception module¶
- exception mlm_insights.core.exceptions.missing_required_parameter_exception.MissingRequiredParameterException(parameter: str, component_name: str)¶
Bases:
Exception
Exception raised when a component do not get required parameter
- Attributes:
message – explanation of the error
mlm_insights.core.exceptions.nested_json_reader_exception module¶
- exception mlm_insights.core.exceptions.nested_json_reader_exception.NestedJsonReaderException(message: str, argument: str = '')¶
Bases:
Exception
Exception raised when query of nested Json Reader gives wrong result.
- Attributes:
message – explanation of the error
mlm_insights.core.exceptions.post_processor_exception module¶
- exception mlm_insights.core.exceptions.post_processor_exception.InvalidPostProcessorConfigurationException(config_source: str, error_message: str, throwable: Exception | None = None)¶
Bases:
Exception
Exception raised when invalid post processor configuration passed
- exception mlm_insights.core.exceptions.post_processor_exception.OCIMonitoringServiceException(error_message: str, throwable: Exception | None = None)¶
Bases:
Exception
Exception raised in case of OCI Monitoring service failure
- exception mlm_insights.core.exceptions.post_processor_exception.PostProcessorRunException(post_processor_name: str, error_message: str, throwable: Exception | None = None)¶
Bases:
Exception
Exception raised when running of post processor with is_critical flag true fails
- Attributes:
message – explanation of the error
mlm_insights.core.exceptions.profile_read_exception module¶
- exception mlm_insights.core.exceptions.profile_read_exception.ProfileReadException(message: str)¶
Bases:
Exception
Exception raised when reading an Insights Profile fails
- Attributes:
message – explanation of the error