Merge from vendor branch TNF:
[pkgsrcv2.git] / devel / p5-Throwable / DESCR
1 Throwable is a role for classes that are meant to be thrown as exceptions
2 to standard program flow. It is very simple and does only two things:
3 saves any previous value for $@ and calls die $self.
4
5 Throwable::Error is a base class for exceptions that will be thrown to
6 signal errors and abort normal program flow. Throwable::Error is an
7 alternative to Exception::Class, the features of which are largely provided
8 by the Moose object system atop which Throwable::Error is built.
9
10 Throwable::Error performs the Throwable role.