"""PFAPACK: Efficient numerical computation of the Pfaffian."""
[docs]
class PFAPACKError(Exception):
"""Base exception for PFAPACK errors."""
[docs]
class InvalidDimensionError(PFAPACKError):
"""Raised when matrix dimensions are invalid."""
[docs]
class InvalidParameterError(PFAPACKError):
"""Raised when an invalid parameter is provided."""
[docs]
class ComputationError(PFAPACKError):
"""Raised when the computation fails."""
__all__ = [
"PFAPACKError",
"InvalidDimensionError",
"InvalidParameterError",
"ComputationError",
]