Module lore.types.exceptions

Expand source code
class InferenceConfigNotFoundException(Exception):
    """Exception raised for specific errors."""

    def __init__(self, message="There is no recommended inference configs"):
        # Call the base class constructor with the parameters it needs
        super().__init__(message)


class TrainingConfigNotFoundException(Exception):
    """Exception raised for specific errors."""

    def __init__(self, message="There is no recommended training configs"):
        # Call the base class constructor with the parameters it needs
        super().__init__(message)

Classes

class InferenceConfigNotFoundException (message='There is no recommended inference configs')

Exception raised for specific errors.

Expand source code
class InferenceConfigNotFoundException(Exception):
    """Exception raised for specific errors."""

    def __init__(self, message="There is no recommended inference configs"):
        # Call the base class constructor with the parameters it needs
        super().__init__(message)

Ancestors

  • builtins.Exception
  • builtins.BaseException
class TrainingConfigNotFoundException (message='There is no recommended training configs')

Exception raised for specific errors.

Expand source code
class TrainingConfigNotFoundException(Exception):
    """Exception raised for specific errors."""

    def __init__(self, message="There is no recommended training configs"):
        # Call the base class constructor with the parameters it needs
        super().__init__(message)

Ancestors

  • builtins.Exception
  • builtins.BaseException