Client Exceptions

Added functionality to throw a ```ClientError``` exception when the server returns an error. The ```ClientError``` exception is triggered when ```result_ok``` is false and is thrown along with the response ```message```