Mention exceptions in doc