summaryrefslogblamecommitdiffstats
path: root/perl/perl-Error/README
blob: 91283169b032d9dc16438bea7f2da5f3fa5901d9 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                     
Error - Error/exception handling in an OO-ish way

The Error package provides two interfaces. Firstly Error provides a
procedural interface to exception handling. Secondly Error is a base
class for errors/exceptions that can either be thrown, for subsequent
catch, or can simply be recorded.

Errors in the class Error should not be thrown directly, but the user
should throw errors from a sub-class of Error.