add "raises:" to docstrings