raise an exception on client or server error
bumped to 0.1.3