```python
if angle is not None and rmatrix is not None:
    raise ValueError("You can not specify both a matrix and an angle")
```