`raise ValueError("Invalid algebra type")`