C0103 fixes 1

this part contains the changes on local variables
By convention, all [python exceptions](https://docs.python.org/2/library/exceptions.html#exception-hierarchy) that are meant to be caught have a class name that ends in `...Error`.