gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error_t (was Re: [Gnu-arch-users] Nit)


From: Tom Lord
Subject: Re: error_t (was Re: [Gnu-arch-users] Nit)
Date: Thu, 23 Oct 2003 14:55:43 -0700 (PDT)


    > From: Robin Farine <address@hidden>

    >     Tom>   Perhaps a generic way of "wrapping" exceptions.  As in: "my 
module
    >     Tom>   got `cannot open'; i turned that into `configuration not found
    >     Tom>   [cannot open [too many descriptors]]' and pass the composite 
error
    >     Tom>   upwards."

    > I am not sure I follow you here. The advantage of logging an error
    > message where the error is detected and assigning a correlation value
    > to the error status returned is that this does not require any memory
    > allocation to bind related errors together as the stack unwinds. But
    > maybe you already have something in mind?

No, the correlation value stuff makes sense to me now.

I should just code up the whole mess rather than try to sum it up in
email.

It came out _way_ to complicated, of course :-)

-t





reply via email to

[Prev in Thread] Current Thread [Next in Thread]