Mention RuntimeError in API docs about exceptions