class FigureExtractionError(Exception): """Raised when figure extraction from a PDF fails."""