[Python.NET] Small improvment for CLR exceptions
stan at phidani.be
Thu Jun 2 14:35:14 CEST 2005
Brian Lloyd wrote:
>Hi all -
>So to summarize this thread: we want to make __str__ of a CLR
>exception return self.Message, right? That would seem to match
>the behavior of the std Python exceptions.
I would add the following:
__str__ should display
self.Message, then self.StackTrace....to be able to immediately point
out the error in C# code...
More information about the PythonDotNet