Raise

Hi,

Can you create your own raise types?

I know there’s raise NotImplementedError, for instance, but I want to
make a custom one with a string.

Thanks!

On Fri, Jun 27, 2008 at 3:01 PM, Justin To [email protected] wrote:

Hi,

Can you create your own raise types?

Sure - take a look at
http://weblog.jamisbuck.org/2007/3/7/raising-the-right-exception

martin