Skip to content

Exceptions

collegeplan.exceptions

Custom exceptions for the collegeplan package.

CollegePlanError

Bases: Exception

Base exception for all collegeplan errors.

Source code in src/collegeplan/exceptions.py
class CollegePlanError(Exception):
    """Base exception for all collegeplan errors."""

ValidationError

Bases: CollegePlanError

Raised when input validation fails.

Source code in src/collegeplan/exceptions.py
class ValidationError(CollegePlanError):
    """Raised when input validation fails."""

SolverError

Bases: CollegePlanError

Raised when the savings solver fails to converge.

Source code in src/collegeplan/exceptions.py
class SolverError(CollegePlanError):
    """Raised when the savings solver fails to converge."""