add exception class and raise exceptions on error for python client, updated readme ex.