thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mayan Moudgill <ma...@bestweb.net>
Subject Re: Error reporting from server to host.
Date Tue, 20 Apr 2010 19:24:14 GMT
Those appear to be client generated exceptions, not exceptions sent from 
the server to the client. Basically, they appear to be checks for a bad 
reply.

Jonathan Ellis wrote:

> TApplicationException has an enum (of sorts) of different error types.
> 
> On Tue, Apr 20, 2010 at 1:39 PM, Mayan Moudgill <mayan@bestweb.net> wrote:
> 
>>Right now, the mechanism for reporting an error from server to host is to
>>use T_EXCEPTION messages. However, there don't appear to be any defined
>>other than the "unknown RPC" or equivalent.
>>
>>Is there any proposal to systematically define a set of errors? I can think
>>of:
>>- out-of-memory
>>- invalid argument
>>- out-of-resources
>>just for starters.
>>
>>Exceptions appear to return a string and an integer. Is this always true, or
>>just an artifact of the current implementation(s)? Do the string/integers
>>have any semantic content?
>>
>>Thanks
>>
>>Mayan
>>
>>
> 
> 
> 


Mime
View raw message