Install libfailures-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libfailures-perl
Description:
minimalist exception hierarchy generator
The failures module lets you define an exception hierarchy quickly and simply. . The design goals were: . • minimalist interface • 80% of features in 20% of lines of code • depend only on core modules (nearly achieved) • support hierarchical error types • identify errors types by name (class) not by parsing strings • leave (possibly expensive) trace decisions to the thrower
Homepage: https://metacpan.org/release/failures
Version: 0.004-1
Section: universe/perl