Skip to content

distill/teacher_errors.py

Namespaces

Name
distill
distill::teacher_errors

Classes

Name
class distill::teacher_errors::TeacherConfigError
class distill::teacher_errors::BudgetExceededError
class distill::teacher_errors::CircuitBreakerOpenError
class distill::teacher_errors::SyntheticDataError
class distill::teacher_errors::BackendNotFoundError

Source code

"""Error types for the teacher API client."""


class TeacherConfigError(Exception):
    pass


class BudgetExceededError(Exception):
    pass


class CircuitBreakerOpenError(Exception):
    pass


class SyntheticDataError(Exception):
    pass


class BackendNotFoundError(TeacherConfigError):
    """Raised when no backend can be resolved for a given model name."""
    pass

Updated on 2026-07-25 at 22:56:58 +0000