Raise TypeError in `raise_error_from_s3ib_msg`
If raise_error_from_s3ib_msg
is called with type(msg) != dict
the passed exception is raised. IMHO the exception raised due to msg
having the wrong type should never change. Raising a basic TypeError fits perfectly.