Source code for axio.exceptions

"""Exception hierarchy for axio."""


[docs] class AxioError(Exception): """Base exception for all axio errors."""
[docs] class ToolError(AxioError): """Base for tool-related errors."""
[docs] class GuardError(ToolError): """Guard denied or crashed during permission check."""
[docs] class HandlerError(ToolError): """Handler raised during execution."""
[docs] class StreamError(AxioError): """Error during stream collection."""