in reply to Advice on a Base and Exception Class

My advice for use of Exception::Class is to only make exception classes for errors that you can catch, correct and continue. If all you plan to do with the exception is log it and stop, just use croak. Most errors don't require exception classes.
  • Comment on Re: Advice on a Base and Exception Class

Replies are listed 'Best First'.
Re^2: Advice on a Base and Exception Class
by ghenry (Vicar) on Jan 18, 2006 at 22:07 UTC

    That was my plan, so looks like I should just continue to use croak.

    Walking the road to enlightenment... I found a penguin and a camel on the way.....
    Fancy a yourname@perl.me.uk? Just ask!!!