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!
···
--
Posted via http://www.ruby-forum.com/.
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!
--
Posted via http://www.ruby-forum.com/.
Sure - take a look at
http://weblog.jamisbuck.org/2007/3/7/raising-the-right-exception
martin
On Fri, Jun 27, 2008 at 3:01 PM, Justin To <tekmc@hotmail.com> wrote:
Hi,
Can you create your own raise types?