thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Error reporting from server to host.
Date Tue, 20 Apr 2010 18:43:08 GMT
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