Source code for openimpala.exceptions

"""Custom exception hierarchy for OpenImpala Python bindings."""


[docs] class OpenImpalaError(Exception): """Base exception for all OpenImpala errors."""
[docs] class ConvergenceError(OpenImpalaError): """Raised when a linear solver fails to converge."""
[docs] class PercolationError(OpenImpalaError): """Raised when the target phase does not percolate across the domain."""