Fix typo
Use reprs for exception