Roundup Tracker - Issues

Message703

Author rouilj
Recipients
Date 2003-03-10.03:15:15
Message-id
In-reply-to
Logged In: YES 
user_id=707416

Hmm, not sure why you need to much with __builtins__.
Can't you 
create a class of exceptions and just have the
detectors include then 
using the standard import
mechanism?

Hmm, now that I 
think of it, the detectors are pretty isolated
from the standard 
variables. So if I can't get to the global
variables, I can't get to the global 
exceptions.

I think its useful to have a standard set of exceptions 
to
raise for consistancy between the reactors. I am thinking of
(at 
minimum):

    PermissionError - user tried to do something that 
s/he
          didn't have permission to do.

    ValueError - user provided 
bogus data in some way

    Reject - Other rules are in place (besides 
permissions)
          to prevent the user from doing what they 
requested.

-- rouilj
History
Date User Action Args
2009-02-03 14:20:17adminlinkissue700265 messages
2009-02-03 14:20:17admincreate