Exceptions

Classes:

TrainingError([params_json, image, msg, ...])

Captures errors raised within the HazyClient during synthetic data training.

GenerationError([params_json, image, msg, ...])

Captures errors raised within the HazyClient during synthetic data generation.


class hazy_client2.exceptions.TrainingError(params_json: Optional[str] = None, image: Optional[str] = None, msg: Optional[str] = None, logfile: Optional[Path] = None, errpt: Optional[Path] = None)

Bases: SynthError

Captures errors raised within the HazyClient during synthetic data training. Supports error reporting back to Hazy support by providing information on log and error data.

Parameters:
  • params_json (Optional[str]) – The configuration parameters provider to the synth container.

  • image (Optional[str]) – The synth image used that resulted in this error.

  • msg (Optional[str]) – Any additional message providing further context to the error.

  • logfile (Optional[Path]) – The location of the log file produced by the synth container.

  • errpt (Optional[Path]) – The location of the error report generated by the synth container.

class hazy_client2.exceptions.GenerationError(params_json: Optional[str] = None, image: Optional[str] = None, msg: Optional[str] = None, logfile: Optional[Path] = None, errpt: Optional[Path] = None)

Bases: SynthError

Captures errors raised within the HazyClient during synthetic data generation. Supports error reporting back to Hazy support by providing information on log and error data.

Parameters:
  • params_json (Optional[str]) – The configuration parameters provider to the synth container.

  • image (Optional[str]) – The synth image used that resulted in this error.

  • msg (Optional[str]) – Any additional message providing further context to the error.

  • logfile (Optional[Path]) – The location of the log file produced by the synth container.

  • errpt (Optional[Path]) – The location of the error report generated by the synth container.