[Tutor] Terminology question

Mark Lawrence breamoreboy at yahoo.co.uk
Fri May 15 21:54:27 CEST 2015


On 15/05/2015 20:02, Jim Mooney Py3.4.3winXP wrote:
> On 14 May 2015 at 16:47, Alan Gauld <alan.gauld at btinternet.com> wrote:
>
>> Rather than printing the messages you could re-raise
>> the error but with the error message attached as a string.
>>
>
> I'm a little unclear how you catch the string you create in a raise, in the
> caller. I tried an example from the docs but it didn't work. Could you
> provide a simple example? Sometimes the docs are heavy slogging if you
> don't already know what's what ;')
>

Please help us to help you, if you were to show the example from the 
docs that "didn't work" we could easily clarify the situation for you.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence



More information about the Tutor mailing list