You can access the Error Type in python3 using type().__name__
e.g.
try: ... except Exception as err: print(f'Error: {str(err)}, Type: {type(err).__name__}') ... ...