Luka

Luka is an exception handling and reporting framework.
Download

Luka Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Toni Prug
  • Publisher web site:
  • http://search.cpan.org/~tpg/Luka-1.08/lib/Luka/Mailer.pm

Luka Tags


Luka Description

Luka is an exception handling and reporting framework. Luka is an exception handling and reporting framework.SYNOPSIS use Error qw(:try); use Luka; try { $ftp->login("someuser", "somepass") || throw Luka::Exception::External ( error => $ftp->message . $@, id => "login", context => "FTP error: couldn't login", severity => 3, args => "user=someuser,pass=somepass" ); } catch Luka::Exception with { my $e = shift; $e->report; return 17; } catch Error with { my $e = shift; $e->report; return 18; };Luka is an exception handling and reporting framework. It's useful to look at it as an event handling framework.It comes from operational understanding of networks.Scenario that Luka is addressing is following: on a network with multiple hosts running multiple applications, it is very difficult to track operational status of all the functionality that those applications and hosts are meant to deliver. In order to make it easier, we decided to specify the error handling and reporting data model that each component delivering functionality has to conform to. What is a component? In most cases, it is a script, often run from cronjob, in some cases it is a class in an application. In all cases, a component has to successfully complete a task on which functionality of an application, or entire network, relies on.It is common practice that programmers choose their way of handling errors and reporting. Luka is an attempt to standardize that process. Its primary goal is to make it easier for smaller number of people to keep larger number of applications and networks running. Requirements: · Perl


Luka Related Software