Make sub throw a class method on all exceptions
authorJacob Bachmeyer <jcb@gnu.org>
Sun, 4 Jun 2023 00:49:00 +0000 (19:49 -0500)
committerJacob Bachmeyer <jcb@gnu.org>
Sun, 4 Jun 2023 00:49:00 +0000 (19:49 -0500)
commitfe809d28f07fa712059cdf421b8b8827a7f9f94f
treeecca700aee53c3ad253723ea6c709334d2d19e96
parent9518071335613a8d630e65b6d90ca2823765a248
Make sub throw a class method on all exceptions

The throw sub can still be called as a function, since its syntax is
easily compatible both ways.  When called as a function, the exception
type may be abbreviated.
gatekeeper.pl