included ex.__class__.__name__ in error messages