./devel/p5-Throwable, Perl 5 role for classes that can be thrown

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2021Q3, Version: 1.000, Package name: p5-Throwable-1.000, Maintainer: pkgsrc-users

Throwable is a role for classes that are meant to be thrown as exceptions
to standard program flow. It is very simple and does only two things:
saves any previous value for $@ and calls die $self.

Throwable::Error is a base class for exceptions that will be thrown to
signal errors and abort normal program flow. Throwable::Error is an
alternative to Exception::Class, the features of which are largely provided
by the Moose object system atop which Throwable::Error is built.

Throwable::Error performs the Throwable role.


Master sites: (Expand)

SHA1: 1cdad028e4a9736035e355f0bd0e87e5474f37cf
RMD160: 887eb142af8839d6d953a4a22bf95b2757384e5f
Filesize: 21.362 KB

Version history: (Expand)