Source code for hypertools.core.exceptions

[docs] class HypertoolsError(Exception): """Base class for all hypertools-specific exceptions.""" pass
[docs] class HypertoolsBackendError(HypertoolsError): """Raised when a plotting backend (matplotlib/plotly) cannot satisfy a request.""" def __init__(self, message): super().__init__(message) self.message = message
[docs] class HypertoolsIOError(HypertoolsError, OSError): """Raised for hypertools-specific I/O failures (e.g. loading/streaming data).""" def __init__(self, message): super().__init__(message) self.message = message