Maybe StandardError or TypeError and ValueError?