exception_class

A module that allows you to declare real exception classes in Perl

bacaro: haikuports also on HaikuPorts
Also on HaikuPorts. exception_class

Description

Exception::Class allows you to declare exception hierarchies in your modules in a "Java-esque" manner.

It features a simple interface allowing programmers to 'declare' exception classes at compile time. It also has a base exception class, Exception::Class::Base, that can be easily extended.

It is designed to make structured exception handling simpler and better by encouraging people to use hierarchies of exceptions in their applications, as opposed to a single catch-all exception class.

Install

Channel stable v1.45-3

This app is curated in HaikuPorts. Install it from there, it is already available in HaikuDepot.

pkgman install exception_class

Download version 1.45-3 (any) hpkg

Careful: the file comes from HaikuPorts' own server, but installing it by hand is not the way in. It is pkgman that resolves the dependencies an .hpkg does not carry with it, and a package installed on its own may simply not run. Use the pkgman command above, unless you know exactly why you want the file.

Reviews