[Tutor] How to raise error without the stack trace

Karim kliateni at gmail.com
Sat Nov 26 11:16:52 CET 2011


Hello,

I want to fire my own exception without having the (useful but ugly in 
my case) stack trace display.

How to modify a Exception type class for that purpose which looks like:

classs MyError(Exception):
        pass

Cheers
Karim




More information about the Tutor mailing list